package com.hutao.medical.pojo.print;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class MrInBaiscExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public MrInBaiscExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(BigDecimal value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(BigDecimal value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(BigDecimal value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(BigDecimal value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<BigDecimal> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<BigDecimal> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNull() {
            addCriterion("MEDICAL_CLASS is null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIsNotNull() {
            addCriterion("MEDICAL_CLASS is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalClassEqualTo(String value) {
            addCriterion("MEDICAL_CLASS =", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <>", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThan(String value) {
            addCriterion("MEDICAL_CLASS >", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassGreaterThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS >=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThan(String value) {
            addCriterion("MEDICAL_CLASS <", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLessThanOrEqualTo(String value) {
            addCriterion("MEDICAL_CLASS <=", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassLike(String value) {
            addCriterion("MEDICAL_CLASS like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotLike(String value) {
            addCriterion("MEDICAL_CLASS not like", value, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassIn(List<String> values) {
            addCriterion("MEDICAL_CLASS in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotIn(List<String> values) {
            addCriterion("MEDICAL_CLASS not in", values, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andMedicalClassNotBetween(String value1, String value2) {
            addCriterion("MEDICAL_CLASS not between", value1, value2, "medicalClass");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNull() {
            addCriterion("ONLY_ID is null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIsNotNull() {
            addCriterion("ONLY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOnlyIdEqualTo(String value) {
            addCriterion("ONLY_ID =", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotEqualTo(String value) {
            addCriterion("ONLY_ID <>", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThan(String value) {
            addCriterion("ONLY_ID >", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdGreaterThanOrEqualTo(String value) {
            addCriterion("ONLY_ID >=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThan(String value) {
            addCriterion("ONLY_ID <", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLessThanOrEqualTo(String value) {
            addCriterion("ONLY_ID <=", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdLike(String value) {
            addCriterion("ONLY_ID like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotLike(String value) {
            addCriterion("ONLY_ID not like", value, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdIn(List<String> values) {
            addCriterion("ONLY_ID in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotIn(List<String> values) {
            addCriterion("ONLY_ID not in", values, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdBetween(String value1, String value2) {
            addCriterion("ONLY_ID between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOnlyIdNotBetween(String value1, String value2) {
            addCriterion("ONLY_ID not between", value1, value2, "onlyId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNull() {
            addCriterion("ORGANIZATION_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIsNotNull() {
            addCriterion("ORGANIZATION_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdEqualTo(String value) {
            addCriterion("ORGANIZATION_ID =", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <>", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThan(String value) {
            addCriterion("ORGANIZATION_ID >", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID >=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThan(String value) {
            addCriterion("ORGANIZATION_ID <", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION_ID <=", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdLike(String value) {
            addCriterion("ORGANIZATION_ID like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotLike(String value) {
            addCriterion("ORGANIZATION_ID not like", value, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdIn(List<String> values) {
            addCriterion("ORGANIZATION_ID in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotIn(List<String> values) {
            addCriterion("ORGANIZATION_ID not in", values, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIdNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION_ID not between", value1, value2, "organizationId");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNull() {
            addCriterion("ORGANIZATION is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationIsNotNull() {
            addCriterion("ORGANIZATION is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationEqualTo(String value) {
            addCriterion("ORGANIZATION =", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotEqualTo(String value) {
            addCriterion("ORGANIZATION <>", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThan(String value) {
            addCriterion("ORGANIZATION >", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationGreaterThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION >=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThan(String value) {
            addCriterion("ORGANIZATION <", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLessThanOrEqualTo(String value) {
            addCriterion("ORGANIZATION <=", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationLike(String value) {
            addCriterion("ORGANIZATION like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotLike(String value) {
            addCriterion("ORGANIZATION not like", value, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationIn(List<String> values) {
            addCriterion("ORGANIZATION in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotIn(List<String> values) {
            addCriterion("ORGANIZATION not in", values, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationBetween(String value1, String value2) {
            addCriterion("ORGANIZATION between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andOrganizationNotBetween(String value1, String value2) {
            addCriterion("ORGANIZATION not between", value1, value2, "organization");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNull() {
            addCriterion("BRANCH_ID is null");
            return (Criteria) this;
        }

        public Criteria andBranchIdIsNotNull() {
            addCriterion("BRANCH_ID is not null");
            return (Criteria) this;
        }

        public Criteria andBranchIdEqualTo(String value) {
            addCriterion("BRANCH_ID =", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotEqualTo(String value) {
            addCriterion("BRANCH_ID <>", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThan(String value) {
            addCriterion("BRANCH_ID >", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdGreaterThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID >=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThan(String value) {
            addCriterion("BRANCH_ID <", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLessThanOrEqualTo(String value) {
            addCriterion("BRANCH_ID <=", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdLike(String value) {
            addCriterion("BRANCH_ID like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotLike(String value) {
            addCriterion("BRANCH_ID not like", value, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdIn(List<String> values) {
            addCriterion("BRANCH_ID in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotIn(List<String> values) {
            addCriterion("BRANCH_ID not in", values, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdBetween(String value1, String value2) {
            addCriterion("BRANCH_ID between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andBranchIdNotBetween(String value1, String value2) {
            addCriterion("BRANCH_ID not between", value1, value2, "branchId");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNull() {
            addCriterion("MR_ID is null");
            return (Criteria) this;
        }

        public Criteria andMrIdIsNotNull() {
            addCriterion("MR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andMrIdEqualTo(String value) {
            addCriterion("MR_ID =", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotEqualTo(String value) {
            addCriterion("MR_ID <>", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThan(String value) {
            addCriterion("MR_ID >", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdGreaterThanOrEqualTo(String value) {
            addCriterion("MR_ID >=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThan(String value) {
            addCriterion("MR_ID <", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLessThanOrEqualTo(String value) {
            addCriterion("MR_ID <=", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdLike(String value) {
            addCriterion("MR_ID like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotLike(String value) {
            addCriterion("MR_ID not like", value, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdIn(List<String> values) {
            addCriterion("MR_ID in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotIn(List<String> values) {
            addCriterion("MR_ID not in", values, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdBetween(String value1, String value2) {
            addCriterion("MR_ID between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andMrIdNotBetween(String value1, String value2) {
            addCriterion("MR_ID not between", value1, value2, "mrId");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNull() {
            addCriterion("ID_CARD is null");
            return (Criteria) this;
        }

        public Criteria andIdCardIsNotNull() {
            addCriterion("ID_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andIdCardEqualTo(String value) {
            addCriterion("ID_CARD =", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotEqualTo(String value) {
            addCriterion("ID_CARD <>", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThan(String value) {
            addCriterion("ID_CARD >", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardGreaterThanOrEqualTo(String value) {
            addCriterion("ID_CARD >=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThan(String value) {
            addCriterion("ID_CARD <", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLessThanOrEqualTo(String value) {
            addCriterion("ID_CARD <=", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardLike(String value) {
            addCriterion("ID_CARD like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotLike(String value) {
            addCriterion("ID_CARD not like", value, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardIn(List<String> values) {
            addCriterion("ID_CARD in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotIn(List<String> values) {
            addCriterion("ID_CARD not in", values, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardBetween(String value1, String value2) {
            addCriterion("ID_CARD between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andIdCardNotBetween(String value1, String value2) {
            addCriterion("ID_CARD not between", value1, value2, "idCard");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andInNumberIsNull() {
            addCriterion("IN_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andInNumberIsNotNull() {
            addCriterion("IN_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andInNumberEqualTo(Short value) {
            addCriterion("IN_NUMBER =", value, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberNotEqualTo(Short value) {
            addCriterion("IN_NUMBER <>", value, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberGreaterThan(Short value) {
            addCriterion("IN_NUMBER >", value, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberGreaterThanOrEqualTo(Short value) {
            addCriterion("IN_NUMBER >=", value, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberLessThan(Short value) {
            addCriterion("IN_NUMBER <", value, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberLessThanOrEqualTo(Short value) {
            addCriterion("IN_NUMBER <=", value, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberIn(List<Short> values) {
            addCriterion("IN_NUMBER in", values, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberNotIn(List<Short> values) {
            addCriterion("IN_NUMBER not in", values, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberBetween(Short value1, Short value2) {
            addCriterion("IN_NUMBER between", value1, value2, "inNumber");
            return (Criteria) this;
        }

        public Criteria andInNumberNotBetween(Short value1, Short value2) {
            addCriterion("IN_NUMBER not between", value1, value2, "inNumber");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentIsNull() {
            addCriterion("MEDICAL_PAYMENT is null");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentIsNotNull() {
            addCriterion("MEDICAL_PAYMENT is not null");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentEqualTo(String value) {
            addCriterion("MEDICAL_PAYMENT =", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentNotEqualTo(String value) {
            addCriterion("MEDICAL_PAYMENT <>", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentGreaterThan(String value) {
            addCriterion("MEDICAL_PAYMENT >", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentGreaterThanOrEqualTo(String value) {
            addCriterion("MEDICAL_PAYMENT >=", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentLessThan(String value) {
            addCriterion("MEDICAL_PAYMENT <", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentLessThanOrEqualTo(String value) {
            addCriterion("MEDICAL_PAYMENT <=", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentLike(String value) {
            addCriterion("MEDICAL_PAYMENT like", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentNotLike(String value) {
            addCriterion("MEDICAL_PAYMENT not like", value, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentIn(List<String> values) {
            addCriterion("MEDICAL_PAYMENT in", values, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentNotIn(List<String> values) {
            addCriterion("MEDICAL_PAYMENT not in", values, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentBetween(String value1, String value2) {
            addCriterion("MEDICAL_PAYMENT between", value1, value2, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andMedicalPaymentNotBetween(String value1, String value2) {
            addCriterion("MEDICAL_PAYMENT not between", value1, value2, "medicalPayment");
            return (Criteria) this;
        }

        public Criteria andHealthCardIsNull() {
            addCriterion("HEALTH_CARD is null");
            return (Criteria) this;
        }

        public Criteria andHealthCardIsNotNull() {
            addCriterion("HEALTH_CARD is not null");
            return (Criteria) this;
        }

        public Criteria andHealthCardEqualTo(String value) {
            addCriterion("HEALTH_CARD =", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardNotEqualTo(String value) {
            addCriterion("HEALTH_CARD <>", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardGreaterThan(String value) {
            addCriterion("HEALTH_CARD >", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardGreaterThanOrEqualTo(String value) {
            addCriterion("HEALTH_CARD >=", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardLessThan(String value) {
            addCriterion("HEALTH_CARD <", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardLessThanOrEqualTo(String value) {
            addCriterion("HEALTH_CARD <=", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardLike(String value) {
            addCriterion("HEALTH_CARD like", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardNotLike(String value) {
            addCriterion("HEALTH_CARD not like", value, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardIn(List<String> values) {
            addCriterion("HEALTH_CARD in", values, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardNotIn(List<String> values) {
            addCriterion("HEALTH_CARD not in", values, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardBetween(String value1, String value2) {
            addCriterion("HEALTH_CARD between", value1, value2, "healthCard");
            return (Criteria) this;
        }

        public Criteria andHealthCardNotBetween(String value1, String value2) {
            addCriterion("HEALTH_CARD not between", value1, value2, "healthCard");
            return (Criteria) this;
        }

        public Criteria andPassportIsNull() {
            addCriterion("PASSPORT is null");
            return (Criteria) this;
        }

        public Criteria andPassportIsNotNull() {
            addCriterion("PASSPORT is not null");
            return (Criteria) this;
        }

        public Criteria andPassportEqualTo(String value) {
            addCriterion("PASSPORT =", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportNotEqualTo(String value) {
            addCriterion("PASSPORT <>", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportGreaterThan(String value) {
            addCriterion("PASSPORT >", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportGreaterThanOrEqualTo(String value) {
            addCriterion("PASSPORT >=", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportLessThan(String value) {
            addCriterion("PASSPORT <", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportLessThanOrEqualTo(String value) {
            addCriterion("PASSPORT <=", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportLike(String value) {
            addCriterion("PASSPORT like", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportNotLike(String value) {
            addCriterion("PASSPORT not like", value, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportIn(List<String> values) {
            addCriterion("PASSPORT in", values, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportNotIn(List<String> values) {
            addCriterion("PASSPORT not in", values, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportBetween(String value1, String value2) {
            addCriterion("PASSPORT between", value1, value2, "passport");
            return (Criteria) this;
        }

        public Criteria andPassportNotBetween(String value1, String value2) {
            addCriterion("PASSPORT not between", value1, value2, "passport");
            return (Criteria) this;
        }

        public Criteria andSexIsNull() {
            addCriterion("SEX is null");
            return (Criteria) this;
        }

        public Criteria andSexIsNotNull() {
            addCriterion("SEX is not null");
            return (Criteria) this;
        }

        public Criteria andSexEqualTo(String value) {
            addCriterion("SEX =", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotEqualTo(String value) {
            addCriterion("SEX <>", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThan(String value) {
            addCriterion("SEX >", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexGreaterThanOrEqualTo(String value) {
            addCriterion("SEX >=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThan(String value) {
            addCriterion("SEX <", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLessThanOrEqualTo(String value) {
            addCriterion("SEX <=", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexLike(String value) {
            addCriterion("SEX like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotLike(String value) {
            addCriterion("SEX not like", value, "sex");
            return (Criteria) this;
        }

        public Criteria andSexIn(List<String> values) {
            addCriterion("SEX in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotIn(List<String> values) {
            addCriterion("SEX not in", values, "sex");
            return (Criteria) this;
        }

        public Criteria andSexBetween(String value1, String value2) {
            addCriterion("SEX between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andSexNotBetween(String value1, String value2) {
            addCriterion("SEX not between", value1, value2, "sex");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNull() {
            addCriterion("BIRTHDAY is null");
            return (Criteria) this;
        }

        public Criteria andBirthdayIsNotNull() {
            addCriterion("BIRTHDAY is not null");
            return (Criteria) this;
        }

        public Criteria andBirthdayEqualTo(Date value) {
            addCriterionForJDBCDate("BIRTHDAY =", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotEqualTo(Date value) {
            addCriterionForJDBCDate("BIRTHDAY <>", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThan(Date value) {
            addCriterionForJDBCDate("BIRTHDAY >", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BIRTHDAY >=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThan(Date value) {
            addCriterionForJDBCDate("BIRTHDAY <", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("BIRTHDAY <=", value, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayIn(List<Date> values) {
            addCriterionForJDBCDate("BIRTHDAY in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotIn(List<Date> values) {
            addCriterionForJDBCDate("BIRTHDAY not in", values, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BIRTHDAY between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andBirthdayNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("BIRTHDAY not between", value1, value2, "birthday");
            return (Criteria) this;
        }

        public Criteria andAgeYearIsNull() {
            addCriterion("AGE_YEAR is null");
            return (Criteria) this;
        }

        public Criteria andAgeYearIsNotNull() {
            addCriterion("AGE_YEAR is not null");
            return (Criteria) this;
        }

        public Criteria andAgeYearEqualTo(Short value) {
            addCriterion("AGE_YEAR =", value, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearNotEqualTo(Short value) {
            addCriterion("AGE_YEAR <>", value, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearGreaterThan(Short value) {
            addCriterion("AGE_YEAR >", value, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearGreaterThanOrEqualTo(Short value) {
            addCriterion("AGE_YEAR >=", value, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearLessThan(Short value) {
            addCriterion("AGE_YEAR <", value, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearLessThanOrEqualTo(Short value) {
            addCriterion("AGE_YEAR <=", value, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearIn(List<Short> values) {
            addCriterion("AGE_YEAR in", values, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearNotIn(List<Short> values) {
            addCriterion("AGE_YEAR not in", values, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearBetween(Short value1, Short value2) {
            addCriterion("AGE_YEAR between", value1, value2, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeYearNotBetween(Short value1, Short value2) {
            addCriterion("AGE_YEAR not between", value1, value2, "ageYear");
            return (Criteria) this;
        }

        public Criteria andAgeMonthIsNull() {
            addCriterion("AGE_MONTH is null");
            return (Criteria) this;
        }

        public Criteria andAgeMonthIsNotNull() {
            addCriterion("AGE_MONTH is not null");
            return (Criteria) this;
        }

        public Criteria andAgeMonthEqualTo(Short value) {
            addCriterion("AGE_MONTH =", value, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthNotEqualTo(Short value) {
            addCriterion("AGE_MONTH <>", value, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthGreaterThan(Short value) {
            addCriterion("AGE_MONTH >", value, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthGreaterThanOrEqualTo(Short value) {
            addCriterion("AGE_MONTH >=", value, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthLessThan(Short value) {
            addCriterion("AGE_MONTH <", value, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthLessThanOrEqualTo(Short value) {
            addCriterion("AGE_MONTH <=", value, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthIn(List<Short> values) {
            addCriterion("AGE_MONTH in", values, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthNotIn(List<Short> values) {
            addCriterion("AGE_MONTH not in", values, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthBetween(Short value1, Short value2) {
            addCriterion("AGE_MONTH between", value1, value2, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeMonthNotBetween(Short value1, Short value2) {
            addCriterion("AGE_MONTH not between", value1, value2, "ageMonth");
            return (Criteria) this;
        }

        public Criteria andAgeDayIsNull() {
            addCriterion("AGE_DAY is null");
            return (Criteria) this;
        }

        public Criteria andAgeDayIsNotNull() {
            addCriterion("AGE_DAY is not null");
            return (Criteria) this;
        }

        public Criteria andAgeDayEqualTo(Short value) {
            addCriterion("AGE_DAY =", value, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayNotEqualTo(Short value) {
            addCriterion("AGE_DAY <>", value, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayGreaterThan(Short value) {
            addCriterion("AGE_DAY >", value, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayGreaterThanOrEqualTo(Short value) {
            addCriterion("AGE_DAY >=", value, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayLessThan(Short value) {
            addCriterion("AGE_DAY <", value, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayLessThanOrEqualTo(Short value) {
            addCriterion("AGE_DAY <=", value, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayIn(List<Short> values) {
            addCriterion("AGE_DAY in", values, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayNotIn(List<Short> values) {
            addCriterion("AGE_DAY not in", values, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayBetween(Short value1, Short value2) {
            addCriterion("AGE_DAY between", value1, value2, "ageDay");
            return (Criteria) this;
        }

        public Criteria andAgeDayNotBetween(Short value1, Short value2) {
            addCriterion("AGE_DAY not between", value1, value2, "ageDay");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNull() {
            addCriterion("NATIONALITY is null");
            return (Criteria) this;
        }

        public Criteria andNationalityIsNotNull() {
            addCriterion("NATIONALITY is not null");
            return (Criteria) this;
        }

        public Criteria andNationalityEqualTo(String value) {
            addCriterion("NATIONALITY =", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotEqualTo(String value) {
            addCriterion("NATIONALITY <>", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThan(String value) {
            addCriterion("NATIONALITY >", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityGreaterThanOrEqualTo(String value) {
            addCriterion("NATIONALITY >=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThan(String value) {
            addCriterion("NATIONALITY <", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLessThanOrEqualTo(String value) {
            addCriterion("NATIONALITY <=", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityLike(String value) {
            addCriterion("NATIONALITY like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotLike(String value) {
            addCriterion("NATIONALITY not like", value, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityIn(List<String> values) {
            addCriterion("NATIONALITY in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotIn(List<String> values) {
            addCriterion("NATIONALITY not in", values, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityBetween(String value1, String value2) {
            addCriterion("NATIONALITY between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andNationalityNotBetween(String value1, String value2) {
            addCriterion("NATIONALITY not between", value1, value2, "nationality");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceIsNull() {
            addCriterion("BIRTH_PLACE is null");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceIsNotNull() {
            addCriterion("BIRTH_PLACE is not null");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceEqualTo(String value) {
            addCriterion("BIRTH_PLACE =", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceNotEqualTo(String value) {
            addCriterion("BIRTH_PLACE <>", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceGreaterThan(String value) {
            addCriterion("BIRTH_PLACE >", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("BIRTH_PLACE >=", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceLessThan(String value) {
            addCriterion("BIRTH_PLACE <", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceLessThanOrEqualTo(String value) {
            addCriterion("BIRTH_PLACE <=", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceLike(String value) {
            addCriterion("BIRTH_PLACE like", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceNotLike(String value) {
            addCriterion("BIRTH_PLACE not like", value, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceIn(List<String> values) {
            addCriterion("BIRTH_PLACE in", values, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceNotIn(List<String> values) {
            addCriterion("BIRTH_PLACE not in", values, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceBetween(String value1, String value2) {
            addCriterion("BIRTH_PLACE between", value1, value2, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andBirthPlaceNotBetween(String value1, String value2) {
            addCriterion("BIRTH_PLACE not between", value1, value2, "birthPlace");
            return (Criteria) this;
        }

        public Criteria andNationIsNull() {
            addCriterion("NATION is null");
            return (Criteria) this;
        }

        public Criteria andNationIsNotNull() {
            addCriterion("NATION is not null");
            return (Criteria) this;
        }

        public Criteria andNationEqualTo(String value) {
            addCriterion("NATION =", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotEqualTo(String value) {
            addCriterion("NATION <>", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThan(String value) {
            addCriterion("NATION >", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationGreaterThanOrEqualTo(String value) {
            addCriterion("NATION >=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThan(String value) {
            addCriterion("NATION <", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLessThanOrEqualTo(String value) {
            addCriterion("NATION <=", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationLike(String value) {
            addCriterion("NATION like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotLike(String value) {
            addCriterion("NATION not like", value, "nation");
            return (Criteria) this;
        }

        public Criteria andNationIn(List<String> values) {
            addCriterion("NATION in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotIn(List<String> values) {
            addCriterion("NATION not in", values, "nation");
            return (Criteria) this;
        }

        public Criteria andNationBetween(String value1, String value2) {
            addCriterion("NATION between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andNationNotBetween(String value1, String value2) {
            addCriterion("NATION not between", value1, value2, "nation");
            return (Criteria) this;
        }

        public Criteria andOccupationIsNull() {
            addCriterion("OCCUPATION is null");
            return (Criteria) this;
        }

        public Criteria andOccupationIsNotNull() {
            addCriterion("OCCUPATION is not null");
            return (Criteria) this;
        }

        public Criteria andOccupationEqualTo(String value) {
            addCriterion("OCCUPATION =", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotEqualTo(String value) {
            addCriterion("OCCUPATION <>", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationGreaterThan(String value) {
            addCriterion("OCCUPATION >", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationGreaterThanOrEqualTo(String value) {
            addCriterion("OCCUPATION >=", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationLessThan(String value) {
            addCriterion("OCCUPATION <", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationLessThanOrEqualTo(String value) {
            addCriterion("OCCUPATION <=", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationLike(String value) {
            addCriterion("OCCUPATION like", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotLike(String value) {
            addCriterion("OCCUPATION not like", value, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationIn(List<String> values) {
            addCriterion("OCCUPATION in", values, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotIn(List<String> values) {
            addCriterion("OCCUPATION not in", values, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationBetween(String value1, String value2) {
            addCriterion("OCCUPATION between", value1, value2, "occupation");
            return (Criteria) this;
        }

        public Criteria andOccupationNotBetween(String value1, String value2) {
            addCriterion("OCCUPATION not between", value1, value2, "occupation");
            return (Criteria) this;
        }

        public Criteria andMarriageIsNull() {
            addCriterion("MARRIAGE is null");
            return (Criteria) this;
        }

        public Criteria andMarriageIsNotNull() {
            addCriterion("MARRIAGE is not null");
            return (Criteria) this;
        }

        public Criteria andMarriageEqualTo(String value) {
            addCriterion("MARRIAGE =", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageNotEqualTo(String value) {
            addCriterion("MARRIAGE <>", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageGreaterThan(String value) {
            addCriterion("MARRIAGE >", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageGreaterThanOrEqualTo(String value) {
            addCriterion("MARRIAGE >=", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageLessThan(String value) {
            addCriterion("MARRIAGE <", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageLessThanOrEqualTo(String value) {
            addCriterion("MARRIAGE <=", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageLike(String value) {
            addCriterion("MARRIAGE like", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageNotLike(String value) {
            addCriterion("MARRIAGE not like", value, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageIn(List<String> values) {
            addCriterion("MARRIAGE in", values, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageNotIn(List<String> values) {
            addCriterion("MARRIAGE not in", values, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageBetween(String value1, String value2) {
            addCriterion("MARRIAGE between", value1, value2, "marriage");
            return (Criteria) this;
        }

        public Criteria andMarriageNotBetween(String value1, String value2) {
            addCriterion("MARRIAGE not between", value1, value2, "marriage");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionIsNull() {
            addCriterion("ADMINISTRATIVE_DIVISION is null");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionIsNotNull() {
            addCriterion("ADMINISTRATIVE_DIVISION is not null");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionEqualTo(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION =", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionNotEqualTo(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION <>", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionGreaterThan(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION >", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionGreaterThanOrEqualTo(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION >=", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionLessThan(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION <", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionLessThanOrEqualTo(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION <=", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionLike(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION like", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionNotLike(String value) {
            addCriterion("ADMINISTRATIVE_DIVISION not like", value, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionIn(List<String> values) {
            addCriterion("ADMINISTRATIVE_DIVISION in", values, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionNotIn(List<String> values) {
            addCriterion("ADMINISTRATIVE_DIVISION not in", values, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionBetween(String value1, String value2) {
            addCriterion("ADMINISTRATIVE_DIVISION between", value1, value2, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAdministrativeDivisionNotBetween(String value1, String value2) {
            addCriterion("ADMINISTRATIVE_DIVISION not between", value1, value2, "administrativeDivision");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("ADDRESS is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("ADDRESS is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("ADDRESS =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("ADDRESS <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("ADDRESS >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("ADDRESS >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("ADDRESS <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("ADDRESS <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("ADDRESS like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("ADDRESS not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("ADDRESS in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("ADDRESS not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("ADDRESS between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("ADDRESS not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneIsNull() {
            addCriterion("ADDR_TELEPHONE is null");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneIsNotNull() {
            addCriterion("ADDR_TELEPHONE is not null");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneEqualTo(String value) {
            addCriterion("ADDR_TELEPHONE =", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneNotEqualTo(String value) {
            addCriterion("ADDR_TELEPHONE <>", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneGreaterThan(String value) {
            addCriterion("ADDR_TELEPHONE >", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("ADDR_TELEPHONE >=", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneLessThan(String value) {
            addCriterion("ADDR_TELEPHONE <", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneLessThanOrEqualTo(String value) {
            addCriterion("ADDR_TELEPHONE <=", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneLike(String value) {
            addCriterion("ADDR_TELEPHONE like", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneNotLike(String value) {
            addCriterion("ADDR_TELEPHONE not like", value, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneIn(List<String> values) {
            addCriterion("ADDR_TELEPHONE in", values, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneNotIn(List<String> values) {
            addCriterion("ADDR_TELEPHONE not in", values, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneBetween(String value1, String value2) {
            addCriterion("ADDR_TELEPHONE between", value1, value2, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrTelephoneNotBetween(String value1, String value2) {
            addCriterion("ADDR_TELEPHONE not between", value1, value2, "addrTelephone");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeIsNull() {
            addCriterion("ADDR_POSTCODE is null");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeIsNotNull() {
            addCriterion("ADDR_POSTCODE is not null");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeEqualTo(String value) {
            addCriterion("ADDR_POSTCODE =", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeNotEqualTo(String value) {
            addCriterion("ADDR_POSTCODE <>", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeGreaterThan(String value) {
            addCriterion("ADDR_POSTCODE >", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("ADDR_POSTCODE >=", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeLessThan(String value) {
            addCriterion("ADDR_POSTCODE <", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeLessThanOrEqualTo(String value) {
            addCriterion("ADDR_POSTCODE <=", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeLike(String value) {
            addCriterion("ADDR_POSTCODE like", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeNotLike(String value) {
            addCriterion("ADDR_POSTCODE not like", value, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeIn(List<String> values) {
            addCriterion("ADDR_POSTCODE in", values, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeNotIn(List<String> values) {
            addCriterion("ADDR_POSTCODE not in", values, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeBetween(String value1, String value2) {
            addCriterion("ADDR_POSTCODE between", value1, value2, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andAddrPostcodeNotBetween(String value1, String value2) {
            addCriterion("ADDR_POSTCODE not between", value1, value2, "addrPostcode");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneIsNull() {
            addCriterion("MOBILE_PHONE is null");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneIsNotNull() {
            addCriterion("MOBILE_PHONE is not null");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneEqualTo(String value) {
            addCriterion("MOBILE_PHONE =", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneNotEqualTo(String value) {
            addCriterion("MOBILE_PHONE <>", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneGreaterThan(String value) {
            addCriterion("MOBILE_PHONE >", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneGreaterThanOrEqualTo(String value) {
            addCriterion("MOBILE_PHONE >=", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneLessThan(String value) {
            addCriterion("MOBILE_PHONE <", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneLessThanOrEqualTo(String value) {
            addCriterion("MOBILE_PHONE <=", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneLike(String value) {
            addCriterion("MOBILE_PHONE like", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneNotLike(String value) {
            addCriterion("MOBILE_PHONE not like", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneIn(List<String> values) {
            addCriterion("MOBILE_PHONE in", values, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneNotIn(List<String> values) {
            addCriterion("MOBILE_PHONE not in", values, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneBetween(String value1, String value2) {
            addCriterion("MOBILE_PHONE between", value1, value2, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneNotBetween(String value1, String value2) {
            addCriterion("MOBILE_PHONE not between", value1, value2, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andEMailIsNull() {
            addCriterion("E_MAIL is null");
            return (Criteria) this;
        }

        public Criteria andEMailIsNotNull() {
            addCriterion("E_MAIL is not null");
            return (Criteria) this;
        }

        public Criteria andEMailEqualTo(String value) {
            addCriterion("E_MAIL =", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotEqualTo(String value) {
            addCriterion("E_MAIL <>", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailGreaterThan(String value) {
            addCriterion("E_MAIL >", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailGreaterThanOrEqualTo(String value) {
            addCriterion("E_MAIL >=", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailLessThan(String value) {
            addCriterion("E_MAIL <", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailLessThanOrEqualTo(String value) {
            addCriterion("E_MAIL <=", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailLike(String value) {
            addCriterion("E_MAIL like", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotLike(String value) {
            addCriterion("E_MAIL not like", value, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailIn(List<String> values) {
            addCriterion("E_MAIL in", values, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotIn(List<String> values) {
            addCriterion("E_MAIL not in", values, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailBetween(String value1, String value2) {
            addCriterion("E_MAIL between", value1, value2, "eMail");
            return (Criteria) this;
        }

        public Criteria andEMailNotBetween(String value1, String value2) {
            addCriterion("E_MAIL not between", value1, value2, "eMail");
            return (Criteria) this;
        }

        public Criteria andRegisterIsNull() {
            addCriterion("REGISTER is null");
            return (Criteria) this;
        }

        public Criteria andRegisterIsNotNull() {
            addCriterion("REGISTER is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterEqualTo(String value) {
            addCriterion("REGISTER =", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterNotEqualTo(String value) {
            addCriterion("REGISTER <>", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterGreaterThan(String value) {
            addCriterion("REGISTER >", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterGreaterThanOrEqualTo(String value) {
            addCriterion("REGISTER >=", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterLessThan(String value) {
            addCriterion("REGISTER <", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterLessThanOrEqualTo(String value) {
            addCriterion("REGISTER <=", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterLike(String value) {
            addCriterion("REGISTER like", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterNotLike(String value) {
            addCriterion("REGISTER not like", value, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterIn(List<String> values) {
            addCriterion("REGISTER in", values, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterNotIn(List<String> values) {
            addCriterion("REGISTER not in", values, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterBetween(String value1, String value2) {
            addCriterion("REGISTER between", value1, value2, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterNotBetween(String value1, String value2) {
            addCriterion("REGISTER not between", value1, value2, "register");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceIsNull() {
            addCriterion("REGISTER_PLACE is null");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceIsNotNull() {
            addCriterion("REGISTER_PLACE is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceEqualTo(String value) {
            addCriterion("REGISTER_PLACE =", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceNotEqualTo(String value) {
            addCriterion("REGISTER_PLACE <>", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceGreaterThan(String value) {
            addCriterion("REGISTER_PLACE >", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("REGISTER_PLACE >=", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceLessThan(String value) {
            addCriterion("REGISTER_PLACE <", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceLessThanOrEqualTo(String value) {
            addCriterion("REGISTER_PLACE <=", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceLike(String value) {
            addCriterion("REGISTER_PLACE like", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceNotLike(String value) {
            addCriterion("REGISTER_PLACE not like", value, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceIn(List<String> values) {
            addCriterion("REGISTER_PLACE in", values, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceNotIn(List<String> values) {
            addCriterion("REGISTER_PLACE not in", values, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceBetween(String value1, String value2) {
            addCriterion("REGISTER_PLACE between", value1, value2, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPlaceNotBetween(String value1, String value2) {
            addCriterion("REGISTER_PLACE not between", value1, value2, "registerPlace");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeIsNull() {
            addCriterion("REGISTER_POSTCODE is null");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeIsNotNull() {
            addCriterion("REGISTER_POSTCODE is not null");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeEqualTo(String value) {
            addCriterion("REGISTER_POSTCODE =", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeNotEqualTo(String value) {
            addCriterion("REGISTER_POSTCODE <>", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeGreaterThan(String value) {
            addCriterion("REGISTER_POSTCODE >", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("REGISTER_POSTCODE >=", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeLessThan(String value) {
            addCriterion("REGISTER_POSTCODE <", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeLessThanOrEqualTo(String value) {
            addCriterion("REGISTER_POSTCODE <=", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeLike(String value) {
            addCriterion("REGISTER_POSTCODE like", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeNotLike(String value) {
            addCriterion("REGISTER_POSTCODE not like", value, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeIn(List<String> values) {
            addCriterion("REGISTER_POSTCODE in", values, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeNotIn(List<String> values) {
            addCriterion("REGISTER_POSTCODE not in", values, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeBetween(String value1, String value2) {
            addCriterion("REGISTER_POSTCODE between", value1, value2, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andRegisterPostcodeNotBetween(String value1, String value2) {
            addCriterion("REGISTER_POSTCODE not between", value1, value2, "registerPostcode");
            return (Criteria) this;
        }

        public Criteria andWorkUnitIsNull() {
            addCriterion("WORK_UNIT is null");
            return (Criteria) this;
        }

        public Criteria andWorkUnitIsNotNull() {
            addCriterion("WORK_UNIT is not null");
            return (Criteria) this;
        }

        public Criteria andWorkUnitEqualTo(String value) {
            addCriterion("WORK_UNIT =", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitNotEqualTo(String value) {
            addCriterion("WORK_UNIT <>", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitGreaterThan(String value) {
            addCriterion("WORK_UNIT >", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitGreaterThanOrEqualTo(String value) {
            addCriterion("WORK_UNIT >=", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitLessThan(String value) {
            addCriterion("WORK_UNIT <", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitLessThanOrEqualTo(String value) {
            addCriterion("WORK_UNIT <=", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitLike(String value) {
            addCriterion("WORK_UNIT like", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitNotLike(String value) {
            addCriterion("WORK_UNIT not like", value, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitIn(List<String> values) {
            addCriterion("WORK_UNIT in", values, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitNotIn(List<String> values) {
            addCriterion("WORK_UNIT not in", values, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitBetween(String value1, String value2) {
            addCriterion("WORK_UNIT between", value1, value2, "workUnit");
            return (Criteria) this;
        }

        public Criteria andWorkUnitNotBetween(String value1, String value2) {
            addCriterion("WORK_UNIT not between", value1, value2, "workUnit");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneIsNull() {
            addCriterion("UNIT_TELEPHONE is null");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneIsNotNull() {
            addCriterion("UNIT_TELEPHONE is not null");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneEqualTo(String value) {
            addCriterion("UNIT_TELEPHONE =", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneNotEqualTo(String value) {
            addCriterion("UNIT_TELEPHONE <>", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneGreaterThan(String value) {
            addCriterion("UNIT_TELEPHONE >", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneGreaterThanOrEqualTo(String value) {
            addCriterion("UNIT_TELEPHONE >=", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneLessThan(String value) {
            addCriterion("UNIT_TELEPHONE <", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneLessThanOrEqualTo(String value) {
            addCriterion("UNIT_TELEPHONE <=", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneLike(String value) {
            addCriterion("UNIT_TELEPHONE like", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneNotLike(String value) {
            addCriterion("UNIT_TELEPHONE not like", value, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneIn(List<String> values) {
            addCriterion("UNIT_TELEPHONE in", values, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneNotIn(List<String> values) {
            addCriterion("UNIT_TELEPHONE not in", values, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneBetween(String value1, String value2) {
            addCriterion("UNIT_TELEPHONE between", value1, value2, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitTelephoneNotBetween(String value1, String value2) {
            addCriterion("UNIT_TELEPHONE not between", value1, value2, "unitTelephone");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeIsNull() {
            addCriterion("UNIT_POSTCODE is null");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeIsNotNull() {
            addCriterion("UNIT_POSTCODE is not null");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeEqualTo(String value) {
            addCriterion("UNIT_POSTCODE =", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeNotEqualTo(String value) {
            addCriterion("UNIT_POSTCODE <>", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeGreaterThan(String value) {
            addCriterion("UNIT_POSTCODE >", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("UNIT_POSTCODE >=", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeLessThan(String value) {
            addCriterion("UNIT_POSTCODE <", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeLessThanOrEqualTo(String value) {
            addCriterion("UNIT_POSTCODE <=", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeLike(String value) {
            addCriterion("UNIT_POSTCODE like", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeNotLike(String value) {
            addCriterion("UNIT_POSTCODE not like", value, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeIn(List<String> values) {
            addCriterion("UNIT_POSTCODE in", values, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeNotIn(List<String> values) {
            addCriterion("UNIT_POSTCODE not in", values, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeBetween(String value1, String value2) {
            addCriterion("UNIT_POSTCODE between", value1, value2, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andUnitPostcodeNotBetween(String value1, String value2) {
            addCriterion("UNIT_POSTCODE not between", value1, value2, "unitPostcode");
            return (Criteria) this;
        }

        public Criteria andLinkmanIsNull() {
            addCriterion("LINKMAN is null");
            return (Criteria) this;
        }

        public Criteria andLinkmanIsNotNull() {
            addCriterion("LINKMAN is not null");
            return (Criteria) this;
        }

        public Criteria andLinkmanEqualTo(String value) {
            addCriterion("LINKMAN =", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotEqualTo(String value) {
            addCriterion("LINKMAN <>", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanGreaterThan(String value) {
            addCriterion("LINKMAN >", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanGreaterThanOrEqualTo(String value) {
            addCriterion("LINKMAN >=", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanLessThan(String value) {
            addCriterion("LINKMAN <", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanLessThanOrEqualTo(String value) {
            addCriterion("LINKMAN <=", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanLike(String value) {
            addCriterion("LINKMAN like", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotLike(String value) {
            addCriterion("LINKMAN not like", value, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanIn(List<String> values) {
            addCriterion("LINKMAN in", values, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotIn(List<String> values) {
            addCriterion("LINKMAN not in", values, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanBetween(String value1, String value2) {
            addCriterion("LINKMAN between", value1, value2, "linkman");
            return (Criteria) this;
        }

        public Criteria andLinkmanNotBetween(String value1, String value2) {
            addCriterion("LINKMAN not between", value1, value2, "linkman");
            return (Criteria) this;
        }

        public Criteria andRelationshipIsNull() {
            addCriterion("RELATIONSHIP is null");
            return (Criteria) this;
        }

        public Criteria andRelationshipIsNotNull() {
            addCriterion("RELATIONSHIP is not null");
            return (Criteria) this;
        }

        public Criteria andRelationshipEqualTo(String value) {
            addCriterion("RELATIONSHIP =", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotEqualTo(String value) {
            addCriterion("RELATIONSHIP <>", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipGreaterThan(String value) {
            addCriterion("RELATIONSHIP >", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipGreaterThanOrEqualTo(String value) {
            addCriterion("RELATIONSHIP >=", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLessThan(String value) {
            addCriterion("RELATIONSHIP <", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLessThanOrEqualTo(String value) {
            addCriterion("RELATIONSHIP <=", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipLike(String value) {
            addCriterion("RELATIONSHIP like", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotLike(String value) {
            addCriterion("RELATIONSHIP not like", value, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipIn(List<String> values) {
            addCriterion("RELATIONSHIP in", values, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotIn(List<String> values) {
            addCriterion("RELATIONSHIP not in", values, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipBetween(String value1, String value2) {
            addCriterion("RELATIONSHIP between", value1, value2, "relationship");
            return (Criteria) this;
        }

        public Criteria andRelationshipNotBetween(String value1, String value2) {
            addCriterion("RELATIONSHIP not between", value1, value2, "relationship");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrIsNull() {
            addCriterion("LINKMAN_ADDR is null");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrIsNotNull() {
            addCriterion("LINKMAN_ADDR is not null");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrEqualTo(String value) {
            addCriterion("LINKMAN_ADDR =", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrNotEqualTo(String value) {
            addCriterion("LINKMAN_ADDR <>", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrGreaterThan(String value) {
            addCriterion("LINKMAN_ADDR >", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrGreaterThanOrEqualTo(String value) {
            addCriterion("LINKMAN_ADDR >=", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrLessThan(String value) {
            addCriterion("LINKMAN_ADDR <", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrLessThanOrEqualTo(String value) {
            addCriterion("LINKMAN_ADDR <=", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrLike(String value) {
            addCriterion("LINKMAN_ADDR like", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrNotLike(String value) {
            addCriterion("LINKMAN_ADDR not like", value, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrIn(List<String> values) {
            addCriterion("LINKMAN_ADDR in", values, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrNotIn(List<String> values) {
            addCriterion("LINKMAN_ADDR not in", values, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrBetween(String value1, String value2) {
            addCriterion("LINKMAN_ADDR between", value1, value2, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanAddrNotBetween(String value1, String value2) {
            addCriterion("LINKMAN_ADDR not between", value1, value2, "linkmanAddr");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleIsNull() {
            addCriterion("LINKMAN_TELE is null");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleIsNotNull() {
            addCriterion("LINKMAN_TELE is not null");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleEqualTo(String value) {
            addCriterion("LINKMAN_TELE =", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleNotEqualTo(String value) {
            addCriterion("LINKMAN_TELE <>", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleGreaterThan(String value) {
            addCriterion("LINKMAN_TELE >", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleGreaterThanOrEqualTo(String value) {
            addCriterion("LINKMAN_TELE >=", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleLessThan(String value) {
            addCriterion("LINKMAN_TELE <", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleLessThanOrEqualTo(String value) {
            addCriterion("LINKMAN_TELE <=", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleLike(String value) {
            addCriterion("LINKMAN_TELE like", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleNotLike(String value) {
            addCriterion("LINKMAN_TELE not like", value, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleIn(List<String> values) {
            addCriterion("LINKMAN_TELE in", values, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleNotIn(List<String> values) {
            addCriterion("LINKMAN_TELE not in", values, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleBetween(String value1, String value2) {
            addCriterion("LINKMAN_TELE between", value1, value2, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andLinkmanTeleNotBetween(String value1, String value2) {
            addCriterion("LINKMAN_TELE not between", value1, value2, "linkmanTele");
            return (Criteria) this;
        }

        public Criteria andInWayIsNull() {
            addCriterion("IN_WAY is null");
            return (Criteria) this;
        }

        public Criteria andInWayIsNotNull() {
            addCriterion("IN_WAY is not null");
            return (Criteria) this;
        }

        public Criteria andInWayEqualTo(String value) {
            addCriterion("IN_WAY =", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayNotEqualTo(String value) {
            addCriterion("IN_WAY <>", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayGreaterThan(String value) {
            addCriterion("IN_WAY >", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayGreaterThanOrEqualTo(String value) {
            addCriterion("IN_WAY >=", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayLessThan(String value) {
            addCriterion("IN_WAY <", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayLessThanOrEqualTo(String value) {
            addCriterion("IN_WAY <=", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayLike(String value) {
            addCriterion("IN_WAY like", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayNotLike(String value) {
            addCriterion("IN_WAY not like", value, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayIn(List<String> values) {
            addCriterion("IN_WAY in", values, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayNotIn(List<String> values) {
            addCriterion("IN_WAY not in", values, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayBetween(String value1, String value2) {
            addCriterion("IN_WAY between", value1, value2, "inWay");
            return (Criteria) this;
        }

        public Criteria andInWayNotBetween(String value1, String value2) {
            addCriterion("IN_WAY not between", value1, value2, "inWay");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdIsNull() {
            addCriterion("IN_HOSPITAL_ID is null");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdIsNotNull() {
            addCriterion("IN_HOSPITAL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdEqualTo(String value) {
            addCriterion("IN_HOSPITAL_ID =", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdNotEqualTo(String value) {
            addCriterion("IN_HOSPITAL_ID <>", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdGreaterThan(String value) {
            addCriterion("IN_HOSPITAL_ID >", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdGreaterThanOrEqualTo(String value) {
            addCriterion("IN_HOSPITAL_ID >=", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdLessThan(String value) {
            addCriterion("IN_HOSPITAL_ID <", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdLessThanOrEqualTo(String value) {
            addCriterion("IN_HOSPITAL_ID <=", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdLike(String value) {
            addCriterion("IN_HOSPITAL_ID like", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdNotLike(String value) {
            addCriterion("IN_HOSPITAL_ID not like", value, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdIn(List<String> values) {
            addCriterion("IN_HOSPITAL_ID in", values, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdNotIn(List<String> values) {
            addCriterion("IN_HOSPITAL_ID not in", values, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdBetween(String value1, String value2) {
            addCriterion("IN_HOSPITAL_ID between", value1, value2, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIdNotBetween(String value1, String value2) {
            addCriterion("IN_HOSPITAL_ID not between", value1, value2, "inHospitalId");
            return (Criteria) this;
        }

        public Criteria andInHospitalIsNull() {
            addCriterion("IN_HOSPITAL is null");
            return (Criteria) this;
        }

        public Criteria andInHospitalIsNotNull() {
            addCriterion("IN_HOSPITAL is not null");
            return (Criteria) this;
        }

        public Criteria andInHospitalEqualTo(String value) {
            addCriterion("IN_HOSPITAL =", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalNotEqualTo(String value) {
            addCriterion("IN_HOSPITAL <>", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalGreaterThan(String value) {
            addCriterion("IN_HOSPITAL >", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalGreaterThanOrEqualTo(String value) {
            addCriterion("IN_HOSPITAL >=", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalLessThan(String value) {
            addCriterion("IN_HOSPITAL <", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalLessThanOrEqualTo(String value) {
            addCriterion("IN_HOSPITAL <=", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalLike(String value) {
            addCriterion("IN_HOSPITAL like", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalNotLike(String value) {
            addCriterion("IN_HOSPITAL not like", value, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalIn(List<String> values) {
            addCriterion("IN_HOSPITAL in", values, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalNotIn(List<String> values) {
            addCriterion("IN_HOSPITAL not in", values, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalBetween(String value1, String value2) {
            addCriterion("IN_HOSPITAL between", value1, value2, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInHospitalNotBetween(String value1, String value2) {
            addCriterion("IN_HOSPITAL not between", value1, value2, "inHospital");
            return (Criteria) this;
        }

        public Criteria andInTimeIsNull() {
            addCriterion("IN_TIME is null");
            return (Criteria) this;
        }

        public Criteria andInTimeIsNotNull() {
            addCriterion("IN_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andInTimeEqualTo(Date value) {
            addCriterion("IN_TIME =", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotEqualTo(Date value) {
            addCriterion("IN_TIME <>", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeGreaterThan(Date value) {
            addCriterion("IN_TIME >", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("IN_TIME >=", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeLessThan(Date value) {
            addCriterion("IN_TIME <", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeLessThanOrEqualTo(Date value) {
            addCriterion("IN_TIME <=", value, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeIn(List<Date> values) {
            addCriterion("IN_TIME in", values, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotIn(List<Date> values) {
            addCriterion("IN_TIME not in", values, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeBetween(Date value1, Date value2) {
            addCriterion("IN_TIME between", value1, value2, "inTime");
            return (Criteria) this;
        }

        public Criteria andInTimeNotBetween(Date value1, Date value2) {
            addCriterion("IN_TIME not between", value1, value2, "inTime");
            return (Criteria) this;
        }

        public Criteria andInDepaIdIsNull() {
            addCriterion("IN_DEPA_ID is null");
            return (Criteria) this;
        }

        public Criteria andInDepaIdIsNotNull() {
            addCriterion("IN_DEPA_ID is not null");
            return (Criteria) this;
        }

        public Criteria andInDepaIdEqualTo(String value) {
            addCriterion("IN_DEPA_ID =", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdNotEqualTo(String value) {
            addCriterion("IN_DEPA_ID <>", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdGreaterThan(String value) {
            addCriterion("IN_DEPA_ID >", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdGreaterThanOrEqualTo(String value) {
            addCriterion("IN_DEPA_ID >=", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdLessThan(String value) {
            addCriterion("IN_DEPA_ID <", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdLessThanOrEqualTo(String value) {
            addCriterion("IN_DEPA_ID <=", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdLike(String value) {
            addCriterion("IN_DEPA_ID like", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdNotLike(String value) {
            addCriterion("IN_DEPA_ID not like", value, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdIn(List<String> values) {
            addCriterion("IN_DEPA_ID in", values, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdNotIn(List<String> values) {
            addCriterion("IN_DEPA_ID not in", values, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdBetween(String value1, String value2) {
            addCriterion("IN_DEPA_ID between", value1, value2, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIdNotBetween(String value1, String value2) {
            addCriterion("IN_DEPA_ID not between", value1, value2, "inDepaId");
            return (Criteria) this;
        }

        public Criteria andInDepaIsNull() {
            addCriterion("IN_DEPA is null");
            return (Criteria) this;
        }

        public Criteria andInDepaIsNotNull() {
            addCriterion("IN_DEPA is not null");
            return (Criteria) this;
        }

        public Criteria andInDepaEqualTo(String value) {
            addCriterion("IN_DEPA =", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaNotEqualTo(String value) {
            addCriterion("IN_DEPA <>", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaGreaterThan(String value) {
            addCriterion("IN_DEPA >", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaGreaterThanOrEqualTo(String value) {
            addCriterion("IN_DEPA >=", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaLessThan(String value) {
            addCriterion("IN_DEPA <", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaLessThanOrEqualTo(String value) {
            addCriterion("IN_DEPA <=", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaLike(String value) {
            addCriterion("IN_DEPA like", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaNotLike(String value) {
            addCriterion("IN_DEPA not like", value, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaIn(List<String> values) {
            addCriterion("IN_DEPA in", values, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaNotIn(List<String> values) {
            addCriterion("IN_DEPA not in", values, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaBetween(String value1, String value2) {
            addCriterion("IN_DEPA between", value1, value2, "inDepa");
            return (Criteria) this;
        }

        public Criteria andInDepaNotBetween(String value1, String value2) {
            addCriterion("IN_DEPA not between", value1, value2, "inDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdIsNull() {
            addCriterion("OUT_DEPA_ID is null");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdIsNotNull() {
            addCriterion("OUT_DEPA_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdEqualTo(String value) {
            addCriterion("OUT_DEPA_ID =", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdNotEqualTo(String value) {
            addCriterion("OUT_DEPA_ID <>", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdGreaterThan(String value) {
            addCriterion("OUT_DEPA_ID >", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdGreaterThanOrEqualTo(String value) {
            addCriterion("OUT_DEPA_ID >=", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdLessThan(String value) {
            addCriterion("OUT_DEPA_ID <", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdLessThanOrEqualTo(String value) {
            addCriterion("OUT_DEPA_ID <=", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdLike(String value) {
            addCriterion("OUT_DEPA_ID like", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdNotLike(String value) {
            addCriterion("OUT_DEPA_ID not like", value, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdIn(List<String> values) {
            addCriterion("OUT_DEPA_ID in", values, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdNotIn(List<String> values) {
            addCriterion("OUT_DEPA_ID not in", values, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdBetween(String value1, String value2) {
            addCriterion("OUT_DEPA_ID between", value1, value2, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIdNotBetween(String value1, String value2) {
            addCriterion("OUT_DEPA_ID not between", value1, value2, "outDepaId");
            return (Criteria) this;
        }

        public Criteria andOutDepaIsNull() {
            addCriterion("OUT_DEPA is null");
            return (Criteria) this;
        }

        public Criteria andOutDepaIsNotNull() {
            addCriterion("OUT_DEPA is not null");
            return (Criteria) this;
        }

        public Criteria andOutDepaEqualTo(String value) {
            addCriterion("OUT_DEPA =", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaNotEqualTo(String value) {
            addCriterion("OUT_DEPA <>", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaGreaterThan(String value) {
            addCriterion("OUT_DEPA >", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaGreaterThanOrEqualTo(String value) {
            addCriterion("OUT_DEPA >=", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaLessThan(String value) {
            addCriterion("OUT_DEPA <", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaLessThanOrEqualTo(String value) {
            addCriterion("OUT_DEPA <=", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaLike(String value) {
            addCriterion("OUT_DEPA like", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaNotLike(String value) {
            addCriterion("OUT_DEPA not like", value, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaIn(List<String> values) {
            addCriterion("OUT_DEPA in", values, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaNotIn(List<String> values) {
            addCriterion("OUT_DEPA not in", values, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaBetween(String value1, String value2) {
            addCriterion("OUT_DEPA between", value1, value2, "outDepa");
            return (Criteria) this;
        }

        public Criteria andOutDepaNotBetween(String value1, String value2) {
            addCriterion("OUT_DEPA not between", value1, value2, "outDepa");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectIsNull() {
            addCriterion("STANDARD_SUBJECT is null");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectIsNotNull() {
            addCriterion("STANDARD_SUBJECT is not null");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectEqualTo(String value) {
            addCriterion("STANDARD_SUBJECT =", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectNotEqualTo(String value) {
            addCriterion("STANDARD_SUBJECT <>", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectGreaterThan(String value) {
            addCriterion("STANDARD_SUBJECT >", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectGreaterThanOrEqualTo(String value) {
            addCriterion("STANDARD_SUBJECT >=", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectLessThan(String value) {
            addCriterion("STANDARD_SUBJECT <", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectLessThanOrEqualTo(String value) {
            addCriterion("STANDARD_SUBJECT <=", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectLike(String value) {
            addCriterion("STANDARD_SUBJECT like", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectNotLike(String value) {
            addCriterion("STANDARD_SUBJECT not like", value, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectIn(List<String> values) {
            addCriterion("STANDARD_SUBJECT in", values, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectNotIn(List<String> values) {
            addCriterion("STANDARD_SUBJECT not in", values, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectBetween(String value1, String value2) {
            addCriterion("STANDARD_SUBJECT between", value1, value2, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andStandardSubjectNotBetween(String value1, String value2) {
            addCriterion("STANDARD_SUBJECT not between", value1, value2, "standardSubject");
            return (Criteria) this;
        }

        public Criteria andAboIsNull() {
            addCriterion("ABO is null");
            return (Criteria) this;
        }

        public Criteria andAboIsNotNull() {
            addCriterion("ABO is not null");
            return (Criteria) this;
        }

        public Criteria andAboEqualTo(String value) {
            addCriterion("ABO =", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboNotEqualTo(String value) {
            addCriterion("ABO <>", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboGreaterThan(String value) {
            addCriterion("ABO >", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboGreaterThanOrEqualTo(String value) {
            addCriterion("ABO >=", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboLessThan(String value) {
            addCriterion("ABO <", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboLessThanOrEqualTo(String value) {
            addCriterion("ABO <=", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboLike(String value) {
            addCriterion("ABO like", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboNotLike(String value) {
            addCriterion("ABO not like", value, "abo");
            return (Criteria) this;
        }

        public Criteria andAboIn(List<String> values) {
            addCriterion("ABO in", values, "abo");
            return (Criteria) this;
        }

        public Criteria andAboNotIn(List<String> values) {
            addCriterion("ABO not in", values, "abo");
            return (Criteria) this;
        }

        public Criteria andAboBetween(String value1, String value2) {
            addCriterion("ABO between", value1, value2, "abo");
            return (Criteria) this;
        }

        public Criteria andAboNotBetween(String value1, String value2) {
            addCriterion("ABO not between", value1, value2, "abo");
            return (Criteria) this;
        }

        public Criteria andRhIsNull() {
            addCriterion("RH is null");
            return (Criteria) this;
        }

        public Criteria andRhIsNotNull() {
            addCriterion("RH is not null");
            return (Criteria) this;
        }

        public Criteria andRhEqualTo(String value) {
            addCriterion("RH =", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhNotEqualTo(String value) {
            addCriterion("RH <>", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhGreaterThan(String value) {
            addCriterion("RH >", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhGreaterThanOrEqualTo(String value) {
            addCriterion("RH >=", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhLessThan(String value) {
            addCriterion("RH <", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhLessThanOrEqualTo(String value) {
            addCriterion("RH <=", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhLike(String value) {
            addCriterion("RH like", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhNotLike(String value) {
            addCriterion("RH not like", value, "rh");
            return (Criteria) this;
        }

        public Criteria andRhIn(List<String> values) {
            addCriterion("RH in", values, "rh");
            return (Criteria) this;
        }

        public Criteria andRhNotIn(List<String> values) {
            addCriterion("RH not in", values, "rh");
            return (Criteria) this;
        }

        public Criteria andRhBetween(String value1, String value2) {
            addCriterion("RH between", value1, value2, "rh");
            return (Criteria) this;
        }

        public Criteria andRhNotBetween(String value1, String value2) {
            addCriterion("RH not between", value1, value2, "rh");
            return (Criteria) this;
        }

        public Criteria andInStatusIsNull() {
            addCriterion("IN_STATUS is null");
            return (Criteria) this;
        }

        public Criteria andInStatusIsNotNull() {
            addCriterion("IN_STATUS is not null");
            return (Criteria) this;
        }

        public Criteria andInStatusEqualTo(String value) {
            addCriterion("IN_STATUS =", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusNotEqualTo(String value) {
            addCriterion("IN_STATUS <>", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusGreaterThan(String value) {
            addCriterion("IN_STATUS >", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusGreaterThanOrEqualTo(String value) {
            addCriterion("IN_STATUS >=", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusLessThan(String value) {
            addCriterion("IN_STATUS <", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusLessThanOrEqualTo(String value) {
            addCriterion("IN_STATUS <=", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusLike(String value) {
            addCriterion("IN_STATUS like", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusNotLike(String value) {
            addCriterion("IN_STATUS not like", value, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusIn(List<String> values) {
            addCriterion("IN_STATUS in", values, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusNotIn(List<String> values) {
            addCriterion("IN_STATUS not in", values, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusBetween(String value1, String value2) {
            addCriterion("IN_STATUS between", value1, value2, "inStatus");
            return (Criteria) this;
        }

        public Criteria andInStatusNotBetween(String value1, String value2) {
            addCriterion("IN_STATUS not between", value1, value2, "inStatus");
            return (Criteria) this;
        }

        public Criteria andPressureSoresIsNull() {
            addCriterion("PRESSURE_SORES is null");
            return (Criteria) this;
        }

        public Criteria andPressureSoresIsNotNull() {
            addCriterion("PRESSURE_SORES is not null");
            return (Criteria) this;
        }

        public Criteria andPressureSoresEqualTo(String value) {
            addCriterion("PRESSURE_SORES =", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresNotEqualTo(String value) {
            addCriterion("PRESSURE_SORES <>", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresGreaterThan(String value) {
            addCriterion("PRESSURE_SORES >", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresGreaterThanOrEqualTo(String value) {
            addCriterion("PRESSURE_SORES >=", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresLessThan(String value) {
            addCriterion("PRESSURE_SORES <", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresLessThanOrEqualTo(String value) {
            addCriterion("PRESSURE_SORES <=", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresLike(String value) {
            addCriterion("PRESSURE_SORES like", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresNotLike(String value) {
            addCriterion("PRESSURE_SORES not like", value, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresIn(List<String> values) {
            addCriterion("PRESSURE_SORES in", values, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresNotIn(List<String> values) {
            addCriterion("PRESSURE_SORES not in", values, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresBetween(String value1, String value2) {
            addCriterion("PRESSURE_SORES between", value1, value2, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andPressureSoresNotBetween(String value1, String value2) {
            addCriterion("PRESSURE_SORES not between", value1, value2, "pressureSores");
            return (Criteria) this;
        }

        public Criteria andFallingBedIsNull() {
            addCriterion("FALLING_BED is null");
            return (Criteria) this;
        }

        public Criteria andFallingBedIsNotNull() {
            addCriterion("FALLING_BED is not null");
            return (Criteria) this;
        }

        public Criteria andFallingBedEqualTo(String value) {
            addCriterion("FALLING_BED =", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedNotEqualTo(String value) {
            addCriterion("FALLING_BED <>", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedGreaterThan(String value) {
            addCriterion("FALLING_BED >", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedGreaterThanOrEqualTo(String value) {
            addCriterion("FALLING_BED >=", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedLessThan(String value) {
            addCriterion("FALLING_BED <", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedLessThanOrEqualTo(String value) {
            addCriterion("FALLING_BED <=", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedLike(String value) {
            addCriterion("FALLING_BED like", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedNotLike(String value) {
            addCriterion("FALLING_BED not like", value, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedIn(List<String> values) {
            addCriterion("FALLING_BED in", values, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedNotIn(List<String> values) {
            addCriterion("FALLING_BED not in", values, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedBetween(String value1, String value2) {
            addCriterion("FALLING_BED between", value1, value2, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andFallingBedNotBetween(String value1, String value2) {
            addCriterion("FALLING_BED not between", value1, value2, "fallingBed");
            return (Criteria) this;
        }

        public Criteria andComaTimeIsNull() {
            addCriterion("COMA_TIME is null");
            return (Criteria) this;
        }

        public Criteria andComaTimeIsNotNull() {
            addCriterion("COMA_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andComaTimeEqualTo(Date value) {
            addCriterion("COMA_TIME =", value, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeNotEqualTo(Date value) {
            addCriterion("COMA_TIME <>", value, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeGreaterThan(Date value) {
            addCriterion("COMA_TIME >", value, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("COMA_TIME >=", value, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeLessThan(Date value) {
            addCriterion("COMA_TIME <", value, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeLessThanOrEqualTo(Date value) {
            addCriterion("COMA_TIME <=", value, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeIn(List<Date> values) {
            addCriterion("COMA_TIME in", values, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeNotIn(List<Date> values) {
            addCriterion("COMA_TIME not in", values, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeBetween(Date value1, Date value2) {
            addCriterion("COMA_TIME between", value1, value2, "comaTime");
            return (Criteria) this;
        }

        public Criteria andComaTimeNotBetween(Date value1, Date value2) {
            addCriterion("COMA_TIME not between", value1, value2, "comaTime");
            return (Criteria) this;
        }

        public Criteria andBirthWeightIsNull() {
            addCriterion("BIRTH_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andBirthWeightIsNotNull() {
            addCriterion("BIRTH_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andBirthWeightEqualTo(BigDecimal value) {
            addCriterion("BIRTH_WEIGHT =", value, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightNotEqualTo(BigDecimal value) {
            addCriterion("BIRTH_WEIGHT <>", value, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightGreaterThan(BigDecimal value) {
            addCriterion("BIRTH_WEIGHT >", value, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("BIRTH_WEIGHT >=", value, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightLessThan(BigDecimal value) {
            addCriterion("BIRTH_WEIGHT <", value, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("BIRTH_WEIGHT <=", value, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightIn(List<BigDecimal> values) {
            addCriterion("BIRTH_WEIGHT in", values, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightNotIn(List<BigDecimal> values) {
            addCriterion("BIRTH_WEIGHT not in", values, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BIRTH_WEIGHT between", value1, value2, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andBirthWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("BIRTH_WEIGHT not between", value1, value2, "birthWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightIsNull() {
            addCriterion("IN_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andInWeightIsNotNull() {
            addCriterion("IN_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andInWeightEqualTo(BigDecimal value) {
            addCriterion("IN_WEIGHT =", value, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightNotEqualTo(BigDecimal value) {
            addCriterion("IN_WEIGHT <>", value, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightGreaterThan(BigDecimal value) {
            addCriterion("IN_WEIGHT >", value, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("IN_WEIGHT >=", value, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightLessThan(BigDecimal value) {
            addCriterion("IN_WEIGHT <", value, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightLessThanOrEqualTo(BigDecimal value) {
            addCriterion("IN_WEIGHT <=", value, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightIn(List<BigDecimal> values) {
            addCriterion("IN_WEIGHT in", values, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightNotIn(List<BigDecimal> values) {
            addCriterion("IN_WEIGHT not in", values, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("IN_WEIGHT between", value1, value2, "inWeight");
            return (Criteria) this;
        }

        public Criteria andInWeightNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("IN_WEIGHT not between", value1, value2, "inWeight");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateIsNull() {
            addCriterion("DIAGNOSIS_DATE is null");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateIsNotNull() {
            addCriterion("DIAGNOSIS_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateEqualTo(Date value) {
            addCriterion("DIAGNOSIS_DATE =", value, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateNotEqualTo(Date value) {
            addCriterion("DIAGNOSIS_DATE <>", value, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateGreaterThan(Date value) {
            addCriterion("DIAGNOSIS_DATE >", value, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateGreaterThanOrEqualTo(Date value) {
            addCriterion("DIAGNOSIS_DATE >=", value, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateLessThan(Date value) {
            addCriterion("DIAGNOSIS_DATE <", value, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateLessThanOrEqualTo(Date value) {
            addCriterion("DIAGNOSIS_DATE <=", value, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateIn(List<Date> values) {
            addCriterion("DIAGNOSIS_DATE in", values, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateNotIn(List<Date> values) {
            addCriterion("DIAGNOSIS_DATE not in", values, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateBetween(Date value1, Date value2) {
            addCriterion("DIAGNOSIS_DATE between", value1, value2, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDiagnosisDateNotBetween(Date value1, Date value2) {
            addCriterion("DIAGNOSIS_DATE not between", value1, value2, "diagnosisDate");
            return (Criteria) this;
        }

        public Criteria andDyingInformIsNull() {
            addCriterion("DYING_INFORM is null");
            return (Criteria) this;
        }

        public Criteria andDyingInformIsNotNull() {
            addCriterion("DYING_INFORM is not null");
            return (Criteria) this;
        }

        public Criteria andDyingInformEqualTo(String value) {
            addCriterion("DYING_INFORM =", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformNotEqualTo(String value) {
            addCriterion("DYING_INFORM <>", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformGreaterThan(String value) {
            addCriterion("DYING_INFORM >", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformGreaterThanOrEqualTo(String value) {
            addCriterion("DYING_INFORM >=", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformLessThan(String value) {
            addCriterion("DYING_INFORM <", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformLessThanOrEqualTo(String value) {
            addCriterion("DYING_INFORM <=", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformLike(String value) {
            addCriterion("DYING_INFORM like", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformNotLike(String value) {
            addCriterion("DYING_INFORM not like", value, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformIn(List<String> values) {
            addCriterion("DYING_INFORM in", values, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformNotIn(List<String> values) {
            addCriterion("DYING_INFORM not in", values, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformBetween(String value1, String value2) {
            addCriterion("DYING_INFORM between", value1, value2, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andDyingInformNotBetween(String value1, String value2) {
            addCriterion("DYING_INFORM not between", value1, value2, "dyingInform");
            return (Criteria) this;
        }

        public Criteria andRescueNumberIsNull() {
            addCriterion("RESCUE_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andRescueNumberIsNotNull() {
            addCriterion("RESCUE_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andRescueNumberEqualTo(BigDecimal value) {
            addCriterion("RESCUE_NUMBER =", value, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberNotEqualTo(BigDecimal value) {
            addCriterion("RESCUE_NUMBER <>", value, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberGreaterThan(BigDecimal value) {
            addCriterion("RESCUE_NUMBER >", value, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("RESCUE_NUMBER >=", value, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberLessThan(BigDecimal value) {
            addCriterion("RESCUE_NUMBER <", value, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberLessThanOrEqualTo(BigDecimal value) {
            addCriterion("RESCUE_NUMBER <=", value, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberIn(List<BigDecimal> values) {
            addCriterion("RESCUE_NUMBER in", values, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberNotIn(List<BigDecimal> values) {
            addCriterion("RESCUE_NUMBER not in", values, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("RESCUE_NUMBER between", value1, value2, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andRescueNumberNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("RESCUE_NUMBER not between", value1, value2, "rescueNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberIsNull() {
            addCriterion("SUCCESS_NUMBER is null");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberIsNotNull() {
            addCriterion("SUCCESS_NUMBER is not null");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberEqualTo(BigDecimal value) {
            addCriterion("SUCCESS_NUMBER =", value, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberNotEqualTo(BigDecimal value) {
            addCriterion("SUCCESS_NUMBER <>", value, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberGreaterThan(BigDecimal value) {
            addCriterion("SUCCESS_NUMBER >", value, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("SUCCESS_NUMBER >=", value, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberLessThan(BigDecimal value) {
            addCriterion("SUCCESS_NUMBER <", value, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberLessThanOrEqualTo(BigDecimal value) {
            addCriterion("SUCCESS_NUMBER <=", value, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberIn(List<BigDecimal> values) {
            addCriterion("SUCCESS_NUMBER in", values, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberNotIn(List<BigDecimal> values) {
            addCriterion("SUCCESS_NUMBER not in", values, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUCCESS_NUMBER between", value1, value2, "successNumber");
            return (Criteria) this;
        }

        public Criteria andSuccessNumberNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("SUCCESS_NUMBER not between", value1, value2, "successNumber");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseIsNull() {
            addCriterion("DIFFICULT_DISEASE is null");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseIsNotNull() {
            addCriterion("DIFFICULT_DISEASE is not null");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseEqualTo(String value) {
            addCriterion("DIFFICULT_DISEASE =", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseNotEqualTo(String value) {
            addCriterion("DIFFICULT_DISEASE <>", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseGreaterThan(String value) {
            addCriterion("DIFFICULT_DISEASE >", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseGreaterThanOrEqualTo(String value) {
            addCriterion("DIFFICULT_DISEASE >=", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseLessThan(String value) {
            addCriterion("DIFFICULT_DISEASE <", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseLessThanOrEqualTo(String value) {
            addCriterion("DIFFICULT_DISEASE <=", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseLike(String value) {
            addCriterion("DIFFICULT_DISEASE like", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseNotLike(String value) {
            addCriterion("DIFFICULT_DISEASE not like", value, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseIn(List<String> values) {
            addCriterion("DIFFICULT_DISEASE in", values, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseNotIn(List<String> values) {
            addCriterion("DIFFICULT_DISEASE not in", values, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseBetween(String value1, String value2) {
            addCriterion("DIFFICULT_DISEASE between", value1, value2, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andDifficultDiseaseNotBetween(String value1, String value2) {
            addCriterion("DIFFICULT_DISEASE not between", value1, value2, "difficultDisease");
            return (Criteria) this;
        }

        public Criteria andInfusionIsNull() {
            addCriterion("INFUSION is null");
            return (Criteria) this;
        }

        public Criteria andInfusionIsNotNull() {
            addCriterion("INFUSION is not null");
            return (Criteria) this;
        }

        public Criteria andInfusionEqualTo(String value) {
            addCriterion("INFUSION =", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionNotEqualTo(String value) {
            addCriterion("INFUSION <>", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionGreaterThan(String value) {
            addCriterion("INFUSION >", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionGreaterThanOrEqualTo(String value) {
            addCriterion("INFUSION >=", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionLessThan(String value) {
            addCriterion("INFUSION <", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionLessThanOrEqualTo(String value) {
            addCriterion("INFUSION <=", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionLike(String value) {
            addCriterion("INFUSION like", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionNotLike(String value) {
            addCriterion("INFUSION not like", value, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionIn(List<String> values) {
            addCriterion("INFUSION in", values, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionNotIn(List<String> values) {
            addCriterion("INFUSION not in", values, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionBetween(String value1, String value2) {
            addCriterion("INFUSION between", value1, value2, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionNotBetween(String value1, String value2) {
            addCriterion("INFUSION not between", value1, value2, "infusion");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionIsNull() {
            addCriterion("INFUSION_REACTION is null");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionIsNotNull() {
            addCriterion("INFUSION_REACTION is not null");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionEqualTo(String value) {
            addCriterion("INFUSION_REACTION =", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionNotEqualTo(String value) {
            addCriterion("INFUSION_REACTION <>", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionGreaterThan(String value) {
            addCriterion("INFUSION_REACTION >", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionGreaterThanOrEqualTo(String value) {
            addCriterion("INFUSION_REACTION >=", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionLessThan(String value) {
            addCriterion("INFUSION_REACTION <", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionLessThanOrEqualTo(String value) {
            addCriterion("INFUSION_REACTION <=", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionLike(String value) {
            addCriterion("INFUSION_REACTION like", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionNotLike(String value) {
            addCriterion("INFUSION_REACTION not like", value, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionIn(List<String> values) {
            addCriterion("INFUSION_REACTION in", values, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionNotIn(List<String> values) {
            addCriterion("INFUSION_REACTION not in", values, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionBetween(String value1, String value2) {
            addCriterion("INFUSION_REACTION between", value1, value2, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andInfusionReactionNotBetween(String value1, String value2) {
            addCriterion("INFUSION_REACTION not between", value1, value2, "infusionReaction");
            return (Criteria) this;
        }

        public Criteria andFollowUpIsNull() {
            addCriterion("FOLLOW_UP is null");
            return (Criteria) this;
        }

        public Criteria andFollowUpIsNotNull() {
            addCriterion("FOLLOW_UP is not null");
            return (Criteria) this;
        }

        public Criteria andFollowUpEqualTo(String value) {
            addCriterion("FOLLOW_UP =", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpNotEqualTo(String value) {
            addCriterion("FOLLOW_UP <>", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpGreaterThan(String value) {
            addCriterion("FOLLOW_UP >", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpGreaterThanOrEqualTo(String value) {
            addCriterion("FOLLOW_UP >=", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpLessThan(String value) {
            addCriterion("FOLLOW_UP <", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpLessThanOrEqualTo(String value) {
            addCriterion("FOLLOW_UP <=", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpLike(String value) {
            addCriterion("FOLLOW_UP like", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpNotLike(String value) {
            addCriterion("FOLLOW_UP not like", value, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpIn(List<String> values) {
            addCriterion("FOLLOW_UP in", values, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpNotIn(List<String> values) {
            addCriterion("FOLLOW_UP not in", values, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpBetween(String value1, String value2) {
            addCriterion("FOLLOW_UP between", value1, value2, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpNotBetween(String value1, String value2) {
            addCriterion("FOLLOW_UP not between", value1, value2, "followUp");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermIsNull() {
            addCriterion("FOLLOW_UP_TERM is null");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermIsNotNull() {
            addCriterion("FOLLOW_UP_TERM is not null");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermEqualTo(Integer value) {
            addCriterion("FOLLOW_UP_TERM =", value, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermNotEqualTo(Integer value) {
            addCriterion("FOLLOW_UP_TERM <>", value, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermGreaterThan(Integer value) {
            addCriterion("FOLLOW_UP_TERM >", value, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermGreaterThanOrEqualTo(Integer value) {
            addCriterion("FOLLOW_UP_TERM >=", value, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermLessThan(Integer value) {
            addCriterion("FOLLOW_UP_TERM <", value, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermLessThanOrEqualTo(Integer value) {
            addCriterion("FOLLOW_UP_TERM <=", value, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermIn(List<Integer> values) {
            addCriterion("FOLLOW_UP_TERM in", values, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermNotIn(List<Integer> values) {
            addCriterion("FOLLOW_UP_TERM not in", values, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermBetween(Integer value1, Integer value2) {
            addCriterion("FOLLOW_UP_TERM between", value1, value2, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andFollowUpTermNotBetween(Integer value1, Integer value2) {
            addCriterion("FOLLOW_UP_TERM not between", value1, value2, "followUpTerm");
            return (Criteria) this;
        }

        public Criteria andConsultationInIsNull() {
            addCriterion("CONSULTATION_IN is null");
            return (Criteria) this;
        }

        public Criteria andConsultationInIsNotNull() {
            addCriterion("CONSULTATION_IN is not null");
            return (Criteria) this;
        }

        public Criteria andConsultationInEqualTo(Short value) {
            addCriterion("CONSULTATION_IN =", value, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInNotEqualTo(Short value) {
            addCriterion("CONSULTATION_IN <>", value, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInGreaterThan(Short value) {
            addCriterion("CONSULTATION_IN >", value, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInGreaterThanOrEqualTo(Short value) {
            addCriterion("CONSULTATION_IN >=", value, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInLessThan(Short value) {
            addCriterion("CONSULTATION_IN <", value, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInLessThanOrEqualTo(Short value) {
            addCriterion("CONSULTATION_IN <=", value, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInIn(List<Short> values) {
            addCriterion("CONSULTATION_IN in", values, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInNotIn(List<Short> values) {
            addCriterion("CONSULTATION_IN not in", values, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInBetween(Short value1, Short value2) {
            addCriterion("CONSULTATION_IN between", value1, value2, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationInNotBetween(Short value1, Short value2) {
            addCriterion("CONSULTATION_IN not between", value1, value2, "consultationIn");
            return (Criteria) this;
        }

        public Criteria andConsultationOutIsNull() {
            addCriterion("CONSULTATION_OUT is null");
            return (Criteria) this;
        }

        public Criteria andConsultationOutIsNotNull() {
            addCriterion("CONSULTATION_OUT is not null");
            return (Criteria) this;
        }

        public Criteria andConsultationOutEqualTo(Short value) {
            addCriterion("CONSULTATION_OUT =", value, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutNotEqualTo(Short value) {
            addCriterion("CONSULTATION_OUT <>", value, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutGreaterThan(Short value) {
            addCriterion("CONSULTATION_OUT >", value, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutGreaterThanOrEqualTo(Short value) {
            addCriterion("CONSULTATION_OUT >=", value, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutLessThan(Short value) {
            addCriterion("CONSULTATION_OUT <", value, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutLessThanOrEqualTo(Short value) {
            addCriterion("CONSULTATION_OUT <=", value, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutIn(List<Short> values) {
            addCriterion("CONSULTATION_OUT in", values, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutNotIn(List<Short> values) {
            addCriterion("CONSULTATION_OUT not in", values, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutBetween(Short value1, Short value2) {
            addCriterion("CONSULTATION_OUT between", value1, value2, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andConsultationOutNotBetween(Short value1, Short value2) {
            addCriterion("CONSULTATION_OUT not between", value1, value2, "consultationOut");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartIsNull() {
            addCriterion("PERIOPERATION_START is null");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartIsNotNull() {
            addCriterion("PERIOPERATION_START is not null");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartEqualTo(Date value) {
            addCriterion("PERIOPERATION_START =", value, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartNotEqualTo(Date value) {
            addCriterion("PERIOPERATION_START <>", value, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartGreaterThan(Date value) {
            addCriterion("PERIOPERATION_START >", value, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartGreaterThanOrEqualTo(Date value) {
            addCriterion("PERIOPERATION_START >=", value, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartLessThan(Date value) {
            addCriterion("PERIOPERATION_START <", value, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartLessThanOrEqualTo(Date value) {
            addCriterion("PERIOPERATION_START <=", value, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartIn(List<Date> values) {
            addCriterion("PERIOPERATION_START in", values, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartNotIn(List<Date> values) {
            addCriterion("PERIOPERATION_START not in", values, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartBetween(Date value1, Date value2) {
            addCriterion("PERIOPERATION_START between", value1, value2, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStartNotBetween(Date value1, Date value2) {
            addCriterion("PERIOPERATION_START not between", value1, value2, "perioperationStart");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopIsNull() {
            addCriterion("PERIOPERATION_STOP is null");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopIsNotNull() {
            addCriterion("PERIOPERATION_STOP is not null");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopEqualTo(Date value) {
            addCriterion("PERIOPERATION_STOP =", value, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopNotEqualTo(Date value) {
            addCriterion("PERIOPERATION_STOP <>", value, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopGreaterThan(Date value) {
            addCriterion("PERIOPERATION_STOP >", value, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopGreaterThanOrEqualTo(Date value) {
            addCriterion("PERIOPERATION_STOP >=", value, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopLessThan(Date value) {
            addCriterion("PERIOPERATION_STOP <", value, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopLessThanOrEqualTo(Date value) {
            addCriterion("PERIOPERATION_STOP <=", value, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopIn(List<Date> values) {
            addCriterion("PERIOPERATION_STOP in", values, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopNotIn(List<Date> values) {
            addCriterion("PERIOPERATION_STOP not in", values, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopBetween(Date value1, Date value2) {
            addCriterion("PERIOPERATION_STOP between", value1, value2, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andPerioperationStopNotBetween(Date value1, Date value2) {
            addCriterion("PERIOPERATION_STOP not between", value1, value2, "perioperationStop");
            return (Criteria) this;
        }

        public Criteria andDeathReasonIsNull() {
            addCriterion("DEATH_REASON is null");
            return (Criteria) this;
        }

        public Criteria andDeathReasonIsNotNull() {
            addCriterion("DEATH_REASON is not null");
            return (Criteria) this;
        }

        public Criteria andDeathReasonEqualTo(String value) {
            addCriterion("DEATH_REASON =", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonNotEqualTo(String value) {
            addCriterion("DEATH_REASON <>", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonGreaterThan(String value) {
            addCriterion("DEATH_REASON >", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonGreaterThanOrEqualTo(String value) {
            addCriterion("DEATH_REASON >=", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonLessThan(String value) {
            addCriterion("DEATH_REASON <", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonLessThanOrEqualTo(String value) {
            addCriterion("DEATH_REASON <=", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonLike(String value) {
            addCriterion("DEATH_REASON like", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonNotLike(String value) {
            addCriterion("DEATH_REASON not like", value, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonIn(List<String> values) {
            addCriterion("DEATH_REASON in", values, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonNotIn(List<String> values) {
            addCriterion("DEATH_REASON not in", values, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonBetween(String value1, String value2) {
            addCriterion("DEATH_REASON between", value1, value2, "deathReason");
            return (Criteria) this;
        }

        public Criteria andDeathReasonNotBetween(String value1, String value2) {
            addCriterion("DEATH_REASON not between", value1, value2, "deathReason");
            return (Criteria) this;
        }

        public Criteria andAutopsyIsNull() {
            addCriterion("AUTOPSY is null");
            return (Criteria) this;
        }

        public Criteria andAutopsyIsNotNull() {
            addCriterion("AUTOPSY is not null");
            return (Criteria) this;
        }

        public Criteria andAutopsyEqualTo(String value) {
            addCriterion("AUTOPSY =", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyNotEqualTo(String value) {
            addCriterion("AUTOPSY <>", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyGreaterThan(String value) {
            addCriterion("AUTOPSY >", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyGreaterThanOrEqualTo(String value) {
            addCriterion("AUTOPSY >=", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyLessThan(String value) {
            addCriterion("AUTOPSY <", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyLessThanOrEqualTo(String value) {
            addCriterion("AUTOPSY <=", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyLike(String value) {
            addCriterion("AUTOPSY like", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyNotLike(String value) {
            addCriterion("AUTOPSY not like", value, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyIn(List<String> values) {
            addCriterion("AUTOPSY in", values, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyNotIn(List<String> values) {
            addCriterion("AUTOPSY not in", values, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyBetween(String value1, String value2) {
            addCriterion("AUTOPSY between", value1, value2, "autopsy");
            return (Criteria) this;
        }

        public Criteria andAutopsyNotBetween(String value1, String value2) {
            addCriterion("AUTOPSY not between", value1, value2, "autopsy");
            return (Criteria) this;
        }

        public Criteria andOutWayIsNull() {
            addCriterion("OUT_WAY is null");
            return (Criteria) this;
        }

        public Criteria andOutWayIsNotNull() {
            addCriterion("OUT_WAY is not null");
            return (Criteria) this;
        }

        public Criteria andOutWayEqualTo(String value) {
            addCriterion("OUT_WAY =", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayNotEqualTo(String value) {
            addCriterion("OUT_WAY <>", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayGreaterThan(String value) {
            addCriterion("OUT_WAY >", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayGreaterThanOrEqualTo(String value) {
            addCriterion("OUT_WAY >=", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayLessThan(String value) {
            addCriterion("OUT_WAY <", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayLessThanOrEqualTo(String value) {
            addCriterion("OUT_WAY <=", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayLike(String value) {
            addCriterion("OUT_WAY like", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayNotLike(String value) {
            addCriterion("OUT_WAY not like", value, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayIn(List<String> values) {
            addCriterion("OUT_WAY in", values, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayNotIn(List<String> values) {
            addCriterion("OUT_WAY not in", values, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayBetween(String value1, String value2) {
            addCriterion("OUT_WAY between", value1, value2, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutWayNotBetween(String value1, String value2) {
            addCriterion("OUT_WAY not between", value1, value2, "outWay");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdIsNull() {
            addCriterion("OUT_HOSPITAL_ID is null");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdIsNotNull() {
            addCriterion("OUT_HOSPITAL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdEqualTo(String value) {
            addCriterion("OUT_HOSPITAL_ID =", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdNotEqualTo(String value) {
            addCriterion("OUT_HOSPITAL_ID <>", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdGreaterThan(String value) {
            addCriterion("OUT_HOSPITAL_ID >", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdGreaterThanOrEqualTo(String value) {
            addCriterion("OUT_HOSPITAL_ID >=", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdLessThan(String value) {
            addCriterion("OUT_HOSPITAL_ID <", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdLessThanOrEqualTo(String value) {
            addCriterion("OUT_HOSPITAL_ID <=", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdLike(String value) {
            addCriterion("OUT_HOSPITAL_ID like", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdNotLike(String value) {
            addCriterion("OUT_HOSPITAL_ID not like", value, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdIn(List<String> values) {
            addCriterion("OUT_HOSPITAL_ID in", values, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdNotIn(List<String> values) {
            addCriterion("OUT_HOSPITAL_ID not in", values, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdBetween(String value1, String value2) {
            addCriterion("OUT_HOSPITAL_ID between", value1, value2, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIdNotBetween(String value1, String value2) {
            addCriterion("OUT_HOSPITAL_ID not between", value1, value2, "outHospitalId");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIsNull() {
            addCriterion("OUT_HOSPITAL is null");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIsNotNull() {
            addCriterion("OUT_HOSPITAL is not null");
            return (Criteria) this;
        }

        public Criteria andOutHospitalEqualTo(String value) {
            addCriterion("OUT_HOSPITAL =", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalNotEqualTo(String value) {
            addCriterion("OUT_HOSPITAL <>", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalGreaterThan(String value) {
            addCriterion("OUT_HOSPITAL >", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalGreaterThanOrEqualTo(String value) {
            addCriterion("OUT_HOSPITAL >=", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalLessThan(String value) {
            addCriterion("OUT_HOSPITAL <", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalLessThanOrEqualTo(String value) {
            addCriterion("OUT_HOSPITAL <=", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalLike(String value) {
            addCriterion("OUT_HOSPITAL like", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalNotLike(String value) {
            addCriterion("OUT_HOSPITAL not like", value, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalIn(List<String> values) {
            addCriterion("OUT_HOSPITAL in", values, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalNotIn(List<String> values) {
            addCriterion("OUT_HOSPITAL not in", values, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalBetween(String value1, String value2) {
            addCriterion("OUT_HOSPITAL between", value1, value2, "outHospital");
            return (Criteria) this;
        }

        public Criteria andOutHospitalNotBetween(String value1, String value2) {
            addCriterion("OUT_HOSPITAL not between", value1, value2, "outHospital");
            return (Criteria) this;
        }

        public Criteria andReturnPlanIsNull() {
            addCriterion("RETURN_PLAN is null");
            return (Criteria) this;
        }

        public Criteria andReturnPlanIsNotNull() {
            addCriterion("RETURN_PLAN is not null");
            return (Criteria) this;
        }

        public Criteria andReturnPlanEqualTo(String value) {
            addCriterion("RETURN_PLAN =", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanNotEqualTo(String value) {
            addCriterion("RETURN_PLAN <>", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanGreaterThan(String value) {
            addCriterion("RETURN_PLAN >", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanGreaterThanOrEqualTo(String value) {
            addCriterion("RETURN_PLAN >=", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanLessThan(String value) {
            addCriterion("RETURN_PLAN <", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanLessThanOrEqualTo(String value) {
            addCriterion("RETURN_PLAN <=", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanLike(String value) {
            addCriterion("RETURN_PLAN like", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanNotLike(String value) {
            addCriterion("RETURN_PLAN not like", value, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanIn(List<String> values) {
            addCriterion("RETURN_PLAN in", values, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanNotIn(List<String> values) {
            addCriterion("RETURN_PLAN not in", values, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanBetween(String value1, String value2) {
            addCriterion("RETURN_PLAN between", value1, value2, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnPlanNotBetween(String value1, String value2) {
            addCriterion("RETURN_PLAN not between", value1, value2, "returnPlan");
            return (Criteria) this;
        }

        public Criteria andReturnDayIsNull() {
            addCriterion("RETURN_DAY is null");
            return (Criteria) this;
        }

        public Criteria andReturnDayIsNotNull() {
            addCriterion("RETURN_DAY is not null");
            return (Criteria) this;
        }

        public Criteria andReturnDayEqualTo(Short value) {
            addCriterion("RETURN_DAY =", value, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayNotEqualTo(Short value) {
            addCriterion("RETURN_DAY <>", value, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayGreaterThan(Short value) {
            addCriterion("RETURN_DAY >", value, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayGreaterThanOrEqualTo(Short value) {
            addCriterion("RETURN_DAY >=", value, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayLessThan(Short value) {
            addCriterion("RETURN_DAY <", value, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayLessThanOrEqualTo(Short value) {
            addCriterion("RETURN_DAY <=", value, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayIn(List<Short> values) {
            addCriterion("RETURN_DAY in", values, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayNotIn(List<Short> values) {
            addCriterion("RETURN_DAY not in", values, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayBetween(Short value1, Short value2) {
            addCriterion("RETURN_DAY between", value1, value2, "returnDay");
            return (Criteria) this;
        }

        public Criteria andReturnDayNotBetween(Short value1, Short value2) {
            addCriterion("RETURN_DAY not between", value1, value2, "returnDay");
            return (Criteria) this;
        }

        public Criteria andClinicOutIsNull() {
            addCriterion("CLINIC_OUT is null");
            return (Criteria) this;
        }

        public Criteria andClinicOutIsNotNull() {
            addCriterion("CLINIC_OUT is not null");
            return (Criteria) this;
        }

        public Criteria andClinicOutEqualTo(String value) {
            addCriterion("CLINIC_OUT =", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutNotEqualTo(String value) {
            addCriterion("CLINIC_OUT <>", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutGreaterThan(String value) {
            addCriterion("CLINIC_OUT >", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutGreaterThanOrEqualTo(String value) {
            addCriterion("CLINIC_OUT >=", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutLessThan(String value) {
            addCriterion("CLINIC_OUT <", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutLessThanOrEqualTo(String value) {
            addCriterion("CLINIC_OUT <=", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutLike(String value) {
            addCriterion("CLINIC_OUT like", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutNotLike(String value) {
            addCriterion("CLINIC_OUT not like", value, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutIn(List<String> values) {
            addCriterion("CLINIC_OUT in", values, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutNotIn(List<String> values) {
            addCriterion("CLINIC_OUT not in", values, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutBetween(String value1, String value2) {
            addCriterion("CLINIC_OUT between", value1, value2, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andClinicOutNotBetween(String value1, String value2) {
            addCriterion("CLINIC_OUT not between", value1, value2, "clinicOut");
            return (Criteria) this;
        }

        public Criteria andInOutIsNull() {
            addCriterion("IN_OUT is null");
            return (Criteria) this;
        }

        public Criteria andInOutIsNotNull() {
            addCriterion("IN_OUT is not null");
            return (Criteria) this;
        }

        public Criteria andInOutEqualTo(String value) {
            addCriterion("IN_OUT =", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutNotEqualTo(String value) {
            addCriterion("IN_OUT <>", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutGreaterThan(String value) {
            addCriterion("IN_OUT >", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutGreaterThanOrEqualTo(String value) {
            addCriterion("IN_OUT >=", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutLessThan(String value) {
            addCriterion("IN_OUT <", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutLessThanOrEqualTo(String value) {
            addCriterion("IN_OUT <=", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutLike(String value) {
            addCriterion("IN_OUT like", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutNotLike(String value) {
            addCriterion("IN_OUT not like", value, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutIn(List<String> values) {
            addCriterion("IN_OUT in", values, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutNotIn(List<String> values) {
            addCriterion("IN_OUT not in", values, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutBetween(String value1, String value2) {
            addCriterion("IN_OUT between", value1, value2, "inOut");
            return (Criteria) this;
        }

        public Criteria andInOutNotBetween(String value1, String value2) {
            addCriterion("IN_OUT not between", value1, value2, "inOut");
            return (Criteria) this;
        }

        public Criteria andOpsAroundIsNull() {
            addCriterion("OPS_AROUND is null");
            return (Criteria) this;
        }

        public Criteria andOpsAroundIsNotNull() {
            addCriterion("OPS_AROUND is not null");
            return (Criteria) this;
        }

        public Criteria andOpsAroundEqualTo(String value) {
            addCriterion("OPS_AROUND =", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundNotEqualTo(String value) {
            addCriterion("OPS_AROUND <>", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundGreaterThan(String value) {
            addCriterion("OPS_AROUND >", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundGreaterThanOrEqualTo(String value) {
            addCriterion("OPS_AROUND >=", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundLessThan(String value) {
            addCriterion("OPS_AROUND <", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundLessThanOrEqualTo(String value) {
            addCriterion("OPS_AROUND <=", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundLike(String value) {
            addCriterion("OPS_AROUND like", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundNotLike(String value) {
            addCriterion("OPS_AROUND not like", value, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundIn(List<String> values) {
            addCriterion("OPS_AROUND in", values, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundNotIn(List<String> values) {
            addCriterion("OPS_AROUND not in", values, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundBetween(String value1, String value2) {
            addCriterion("OPS_AROUND between", value1, value2, "opsAround");
            return (Criteria) this;
        }

        public Criteria andOpsAroundNotBetween(String value1, String value2) {
            addCriterion("OPS_AROUND not between", value1, value2, "opsAround");
            return (Criteria) this;
        }

        public Criteria andImagePathologyIsNull() {
            addCriterion("IMAGE_PATHOLOGY is null");
            return (Criteria) this;
        }

        public Criteria andImagePathologyIsNotNull() {
            addCriterion("IMAGE_PATHOLOGY is not null");
            return (Criteria) this;
        }

        public Criteria andImagePathologyEqualTo(String value) {
            addCriterion("IMAGE_PATHOLOGY =", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyNotEqualTo(String value) {
            addCriterion("IMAGE_PATHOLOGY <>", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyGreaterThan(String value) {
            addCriterion("IMAGE_PATHOLOGY >", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyGreaterThanOrEqualTo(String value) {
            addCriterion("IMAGE_PATHOLOGY >=", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyLessThan(String value) {
            addCriterion("IMAGE_PATHOLOGY <", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyLessThanOrEqualTo(String value) {
            addCriterion("IMAGE_PATHOLOGY <=", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyLike(String value) {
            addCriterion("IMAGE_PATHOLOGY like", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyNotLike(String value) {
            addCriterion("IMAGE_PATHOLOGY not like", value, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyIn(List<String> values) {
            addCriterion("IMAGE_PATHOLOGY in", values, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyNotIn(List<String> values) {
            addCriterion("IMAGE_PATHOLOGY not in", values, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyBetween(String value1, String value2) {
            addCriterion("IMAGE_PATHOLOGY between", value1, value2, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andImagePathologyNotBetween(String value1, String value2) {
            addCriterion("IMAGE_PATHOLOGY not between", value1, value2, "imagePathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyIsNull() {
            addCriterion("CLINICAL_PATHOLOGY is null");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyIsNotNull() {
            addCriterion("CLINICAL_PATHOLOGY is not null");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyEqualTo(String value) {
            addCriterion("CLINICAL_PATHOLOGY =", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyNotEqualTo(String value) {
            addCriterion("CLINICAL_PATHOLOGY <>", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyGreaterThan(String value) {
            addCriterion("CLINICAL_PATHOLOGY >", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyGreaterThanOrEqualTo(String value) {
            addCriterion("CLINICAL_PATHOLOGY >=", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyLessThan(String value) {
            addCriterion("CLINICAL_PATHOLOGY <", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyLessThanOrEqualTo(String value) {
            addCriterion("CLINICAL_PATHOLOGY <=", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyLike(String value) {
            addCriterion("CLINICAL_PATHOLOGY like", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyNotLike(String value) {
            addCriterion("CLINICAL_PATHOLOGY not like", value, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyIn(List<String> values) {
            addCriterion("CLINICAL_PATHOLOGY in", values, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyNotIn(List<String> values) {
            addCriterion("CLINICAL_PATHOLOGY not in", values, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyBetween(String value1, String value2) {
            addCriterion("CLINICAL_PATHOLOGY between", value1, value2, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andClinicalPathologyNotBetween(String value1, String value2) {
            addCriterion("CLINICAL_PATHOLOGY not between", value1, value2, "clinicalPathology");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinIsNull() {
            addCriterion("FROZEN_PARAFFIN is null");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinIsNotNull() {
            addCriterion("FROZEN_PARAFFIN is not null");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinEqualTo(String value) {
            addCriterion("FROZEN_PARAFFIN =", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinNotEqualTo(String value) {
            addCriterion("FROZEN_PARAFFIN <>", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinGreaterThan(String value) {
            addCriterion("FROZEN_PARAFFIN >", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinGreaterThanOrEqualTo(String value) {
            addCriterion("FROZEN_PARAFFIN >=", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinLessThan(String value) {
            addCriterion("FROZEN_PARAFFIN <", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinLessThanOrEqualTo(String value) {
            addCriterion("FROZEN_PARAFFIN <=", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinLike(String value) {
            addCriterion("FROZEN_PARAFFIN like", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinNotLike(String value) {
            addCriterion("FROZEN_PARAFFIN not like", value, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinIn(List<String> values) {
            addCriterion("FROZEN_PARAFFIN in", values, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinNotIn(List<String> values) {
            addCriterion("FROZEN_PARAFFIN not in", values, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinBetween(String value1, String value2) {
            addCriterion("FROZEN_PARAFFIN between", value1, value2, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andFrozenParaffinNotBetween(String value1, String value2) {
            addCriterion("FROZEN_PARAFFIN not between", value1, value2, "frozenParaffin");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundIsNull() {
            addCriterion("PATHOLOGY_AROUND is null");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundIsNotNull() {
            addCriterion("PATHOLOGY_AROUND is not null");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundEqualTo(String value) {
            addCriterion("PATHOLOGY_AROUND =", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundNotEqualTo(String value) {
            addCriterion("PATHOLOGY_AROUND <>", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundGreaterThan(String value) {
            addCriterion("PATHOLOGY_AROUND >", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundGreaterThanOrEqualTo(String value) {
            addCriterion("PATHOLOGY_AROUND >=", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundLessThan(String value) {
            addCriterion("PATHOLOGY_AROUND <", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundLessThanOrEqualTo(String value) {
            addCriterion("PATHOLOGY_AROUND <=", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundLike(String value) {
            addCriterion("PATHOLOGY_AROUND like", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundNotLike(String value) {
            addCriterion("PATHOLOGY_AROUND not like", value, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundIn(List<String> values) {
            addCriterion("PATHOLOGY_AROUND in", values, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundNotIn(List<String> values) {
            addCriterion("PATHOLOGY_AROUND not in", values, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundBetween(String value1, String value2) {
            addCriterion("PATHOLOGY_AROUND between", value1, value2, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andPathologyAroundNotBetween(String value1, String value2) {
            addCriterion("PATHOLOGY_AROUND not between", value1, value2, "pathologyAround");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyIsNull() {
            addCriterion("CLINICAL_AUTOPSY is null");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyIsNotNull() {
            addCriterion("CLINICAL_AUTOPSY is not null");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyEqualTo(String value) {
            addCriterion("CLINICAL_AUTOPSY =", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyNotEqualTo(String value) {
            addCriterion("CLINICAL_AUTOPSY <>", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyGreaterThan(String value) {
            addCriterion("CLINICAL_AUTOPSY >", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyGreaterThanOrEqualTo(String value) {
            addCriterion("CLINICAL_AUTOPSY >=", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyLessThan(String value) {
            addCriterion("CLINICAL_AUTOPSY <", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyLessThanOrEqualTo(String value) {
            addCriterion("CLINICAL_AUTOPSY <=", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyLike(String value) {
            addCriterion("CLINICAL_AUTOPSY like", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyNotLike(String value) {
            addCriterion("CLINICAL_AUTOPSY not like", value, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyIn(List<String> values) {
            addCriterion("CLINICAL_AUTOPSY in", values, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyNotIn(List<String> values) {
            addCriterion("CLINICAL_AUTOPSY not in", values, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyBetween(String value1, String value2) {
            addCriterion("CLINICAL_AUTOPSY between", value1, value2, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andClinicalAutopsyNotBetween(String value1, String value2) {
            addCriterion("CLINICAL_AUTOPSY not between", value1, value2, "clinicalAutopsy");
            return (Criteria) this;
        }

        public Criteria andSpectrumIsNull() {
            addCriterion("SPECTRUM is null");
            return (Criteria) this;
        }

        public Criteria andSpectrumIsNotNull() {
            addCriterion("SPECTRUM is not null");
            return (Criteria) this;
        }

        public Criteria andSpectrumEqualTo(String value) {
            addCriterion("SPECTRUM =", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumNotEqualTo(String value) {
            addCriterion("SPECTRUM <>", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumGreaterThan(String value) {
            addCriterion("SPECTRUM >", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumGreaterThanOrEqualTo(String value) {
            addCriterion("SPECTRUM >=", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumLessThan(String value) {
            addCriterion("SPECTRUM <", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumLessThanOrEqualTo(String value) {
            addCriterion("SPECTRUM <=", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumLike(String value) {
            addCriterion("SPECTRUM like", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumNotLike(String value) {
            addCriterion("SPECTRUM not like", value, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumIn(List<String> values) {
            addCriterion("SPECTRUM in", values, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumNotIn(List<String> values) {
            addCriterion("SPECTRUM not in", values, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumBetween(String value1, String value2) {
            addCriterion("SPECTRUM between", value1, value2, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSpectrumNotBetween(String value1, String value2) {
            addCriterion("SPECTRUM not between", value1, value2, "spectrum");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseIsNull() {
            addCriterion("SINGLE_DISEASE is null");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseIsNotNull() {
            addCriterion("SINGLE_DISEASE is not null");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseEqualTo(String value) {
            addCriterion("SINGLE_DISEASE =", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseNotEqualTo(String value) {
            addCriterion("SINGLE_DISEASE <>", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseGreaterThan(String value) {
            addCriterion("SINGLE_DISEASE >", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseGreaterThanOrEqualTo(String value) {
            addCriterion("SINGLE_DISEASE >=", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseLessThan(String value) {
            addCriterion("SINGLE_DISEASE <", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseLessThanOrEqualTo(String value) {
            addCriterion("SINGLE_DISEASE <=", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseLike(String value) {
            addCriterion("SINGLE_DISEASE like", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseNotLike(String value) {
            addCriterion("SINGLE_DISEASE not like", value, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseIn(List<String> values) {
            addCriterion("SINGLE_DISEASE in", values, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseNotIn(List<String> values) {
            addCriterion("SINGLE_DISEASE not in", values, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseBetween(String value1, String value2) {
            addCriterion("SINGLE_DISEASE between", value1, value2, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andSingleDiseaseNotBetween(String value1, String value2) {
            addCriterion("SINGLE_DISEASE not between", value1, value2, "singleDisease");
            return (Criteria) this;
        }

        public Criteria andObservationIsNull() {
            addCriterion("OBSERVATION is null");
            return (Criteria) this;
        }

        public Criteria andObservationIsNotNull() {
            addCriterion("OBSERVATION is not null");
            return (Criteria) this;
        }

        public Criteria andObservationEqualTo(String value) {
            addCriterion("OBSERVATION =", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotEqualTo(String value) {
            addCriterion("OBSERVATION <>", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationGreaterThan(String value) {
            addCriterion("OBSERVATION >", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationGreaterThanOrEqualTo(String value) {
            addCriterion("OBSERVATION >=", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationLessThan(String value) {
            addCriterion("OBSERVATION <", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationLessThanOrEqualTo(String value) {
            addCriterion("OBSERVATION <=", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationLike(String value) {
            addCriterion("OBSERVATION like", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotLike(String value) {
            addCriterion("OBSERVATION not like", value, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationIn(List<String> values) {
            addCriterion("OBSERVATION in", values, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotIn(List<String> values) {
            addCriterion("OBSERVATION not in", values, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationBetween(String value1, String value2) {
            addCriterion("OBSERVATION between", value1, value2, "observation");
            return (Criteria) this;
        }

        public Criteria andObservationNotBetween(String value1, String value2) {
            addCriterion("OBSERVATION not between", value1, value2, "observation");
            return (Criteria) this;
        }

        public Criteria andAppointmentIsNull() {
            addCriterion("APPOINTMENT is null");
            return (Criteria) this;
        }

        public Criteria andAppointmentIsNotNull() {
            addCriterion("APPOINTMENT is not null");
            return (Criteria) this;
        }

        public Criteria andAppointmentEqualTo(String value) {
            addCriterion("APPOINTMENT =", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentNotEqualTo(String value) {
            addCriterion("APPOINTMENT <>", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentGreaterThan(String value) {
            addCriterion("APPOINTMENT >", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentGreaterThanOrEqualTo(String value) {
            addCriterion("APPOINTMENT >=", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentLessThan(String value) {
            addCriterion("APPOINTMENT <", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentLessThanOrEqualTo(String value) {
            addCriterion("APPOINTMENT <=", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentLike(String value) {
            addCriterion("APPOINTMENT like", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentNotLike(String value) {
            addCriterion("APPOINTMENT not like", value, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentIn(List<String> values) {
            addCriterion("APPOINTMENT in", values, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentNotIn(List<String> values) {
            addCriterion("APPOINTMENT not in", values, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentBetween(String value1, String value2) {
            addCriterion("APPOINTMENT between", value1, value2, "appointment");
            return (Criteria) this;
        }

        public Criteria andAppointmentNotBetween(String value1, String value2) {
            addCriterion("APPOINTMENT not between", value1, value2, "appointment");
            return (Criteria) this;
        }

        public Criteria andMrSignIsNull() {
            addCriterion("MR_SIGN is null");
            return (Criteria) this;
        }

        public Criteria andMrSignIsNotNull() {
            addCriterion("MR_SIGN is not null");
            return (Criteria) this;
        }

        public Criteria andMrSignEqualTo(String value) {
            addCriterion("MR_SIGN =", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignNotEqualTo(String value) {
            addCriterion("MR_SIGN <>", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignGreaterThan(String value) {
            addCriterion("MR_SIGN >", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignGreaterThanOrEqualTo(String value) {
            addCriterion("MR_SIGN >=", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignLessThan(String value) {
            addCriterion("MR_SIGN <", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignLessThanOrEqualTo(String value) {
            addCriterion("MR_SIGN <=", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignLike(String value) {
            addCriterion("MR_SIGN like", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignNotLike(String value) {
            addCriterion("MR_SIGN not like", value, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignIn(List<String> values) {
            addCriterion("MR_SIGN in", values, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignNotIn(List<String> values) {
            addCriterion("MR_SIGN not in", values, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignBetween(String value1, String value2) {
            addCriterion("MR_SIGN between", value1, value2, "mrSign");
            return (Criteria) this;
        }

        public Criteria andMrSignNotBetween(String value1, String value2) {
            addCriterion("MR_SIGN not between", value1, value2, "mrSign");
            return (Criteria) this;
        }

        public Criteria andOutTimeIsNull() {
            addCriterion("OUT_TIME is null");
            return (Criteria) this;
        }

        public Criteria andOutTimeIsNotNull() {
            addCriterion("OUT_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andOutTimeEqualTo(Date value) {
            addCriterion("OUT_TIME =", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeNotEqualTo(Date value) {
            addCriterion("OUT_TIME <>", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeGreaterThan(Date value) {
            addCriterion("OUT_TIME >", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("OUT_TIME >=", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeLessThan(Date value) {
            addCriterion("OUT_TIME <", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeLessThanOrEqualTo(Date value) {
            addCriterion("OUT_TIME <=", value, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeIn(List<Date> values) {
            addCriterion("OUT_TIME in", values, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeNotIn(List<Date> values) {
            addCriterion("OUT_TIME not in", values, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeBetween(Date value1, Date value2) {
            addCriterion("OUT_TIME between", value1, value2, "outTime");
            return (Criteria) this;
        }

        public Criteria andOutTimeNotBetween(Date value1, Date value2) {
            addCriterion("OUT_TIME not between", value1, value2, "outTime");
            return (Criteria) this;
        }

        public Criteria andNativePlaceIsNull() {
            addCriterion("NATIVE_PLACE is null");
            return (Criteria) this;
        }

        public Criteria andNativePlaceIsNotNull() {
            addCriterion("NATIVE_PLACE is not null");
            return (Criteria) this;
        }

        public Criteria andNativePlaceEqualTo(String value) {
            addCriterion("NATIVE_PLACE =", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotEqualTo(String value) {
            addCriterion("NATIVE_PLACE <>", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceGreaterThan(String value) {
            addCriterion("NATIVE_PLACE >", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceGreaterThanOrEqualTo(String value) {
            addCriterion("NATIVE_PLACE >=", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceLessThan(String value) {
            addCriterion("NATIVE_PLACE <", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceLessThanOrEqualTo(String value) {
            addCriterion("NATIVE_PLACE <=", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceLike(String value) {
            addCriterion("NATIVE_PLACE like", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotLike(String value) {
            addCriterion("NATIVE_PLACE not like", value, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceIn(List<String> values) {
            addCriterion("NATIVE_PLACE in", values, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotIn(List<String> values) {
            addCriterion("NATIVE_PLACE not in", values, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceBetween(String value1, String value2) {
            addCriterion("NATIVE_PLACE between", value1, value2, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andNativePlaceNotBetween(String value1, String value2) {
            addCriterion("NATIVE_PLACE not between", value1, value2, "nativePlace");
            return (Criteria) this;
        }

        public Criteria andBeInDepaIsNull() {
            addCriterion("BE_IN_DEPA is null");
            return (Criteria) this;
        }

        public Criteria andBeInDepaIsNotNull() {
            addCriterion("BE_IN_DEPA is not null");
            return (Criteria) this;
        }

        public Criteria andBeInDepaEqualTo(String value) {
            addCriterion("BE_IN_DEPA =", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaNotEqualTo(String value) {
            addCriterion("BE_IN_DEPA <>", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaGreaterThan(String value) {
            addCriterion("BE_IN_DEPA >", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaGreaterThanOrEqualTo(String value) {
            addCriterion("BE_IN_DEPA >=", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaLessThan(String value) {
            addCriterion("BE_IN_DEPA <", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaLessThanOrEqualTo(String value) {
            addCriterion("BE_IN_DEPA <=", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaLike(String value) {
            addCriterion("BE_IN_DEPA like", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaNotLike(String value) {
            addCriterion("BE_IN_DEPA not like", value, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaIn(List<String> values) {
            addCriterion("BE_IN_DEPA in", values, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaNotIn(List<String> values) {
            addCriterion("BE_IN_DEPA not in", values, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaBetween(String value1, String value2) {
            addCriterion("BE_IN_DEPA between", value1, value2, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andBeInDepaNotBetween(String value1, String value2) {
            addCriterion("BE_IN_DEPA not between", value1, value2, "beInDepa");
            return (Criteria) this;
        }

        public Criteria andCommunityIsNull() {
            addCriterion("COMMUNITY is null");
            return (Criteria) this;
        }

        public Criteria andCommunityIsNotNull() {
            addCriterion("COMMUNITY is not null");
            return (Criteria) this;
        }

        public Criteria andCommunityEqualTo(String value) {
            addCriterion("COMMUNITY =", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotEqualTo(String value) {
            addCriterion("COMMUNITY <>", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityGreaterThan(String value) {
            addCriterion("COMMUNITY >", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityGreaterThanOrEqualTo(String value) {
            addCriterion("COMMUNITY >=", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityLessThan(String value) {
            addCriterion("COMMUNITY <", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityLessThanOrEqualTo(String value) {
            addCriterion("COMMUNITY <=", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityLike(String value) {
            addCriterion("COMMUNITY like", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotLike(String value) {
            addCriterion("COMMUNITY not like", value, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityIn(List<String> values) {
            addCriterion("COMMUNITY in", values, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotIn(List<String> values) {
            addCriterion("COMMUNITY not in", values, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityBetween(String value1, String value2) {
            addCriterion("COMMUNITY between", value1, value2, "community");
            return (Criteria) this;
        }

        public Criteria andCommunityNotBetween(String value1, String value2) {
            addCriterion("COMMUNITY not between", value1, value2, "community");
            return (Criteria) this;
        }

        public Criteria andZhusu2IsNull() {
            addCriterion("ZHUSU2 is null");
            return (Criteria) this;
        }

        public Criteria andZhusu2IsNotNull() {
            addCriterion("ZHUSU2 is not null");
            return (Criteria) this;
        }

        public Criteria andZhusu2EqualTo(String value) {
            addCriterion("ZHUSU2 =", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2NotEqualTo(String value) {
            addCriterion("ZHUSU2 <>", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2GreaterThan(String value) {
            addCriterion("ZHUSU2 >", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2GreaterThanOrEqualTo(String value) {
            addCriterion("ZHUSU2 >=", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2LessThan(String value) {
            addCriterion("ZHUSU2 <", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2LessThanOrEqualTo(String value) {
            addCriterion("ZHUSU2 <=", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2Like(String value) {
            addCriterion("ZHUSU2 like", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2NotLike(String value) {
            addCriterion("ZHUSU2 not like", value, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2In(List<String> values) {
            addCriterion("ZHUSU2 in", values, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2NotIn(List<String> values) {
            addCriterion("ZHUSU2 not in", values, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2Between(String value1, String value2) {
            addCriterion("ZHUSU2 between", value1, value2, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andZhusu2NotBetween(String value1, String value2) {
            addCriterion("ZHUSU2 not between", value1, value2, "zhusu2");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveIsNull() {
            addCriterion("ANTIBACTERIAL_OBJECTIVE is null");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveIsNotNull() {
            addCriterion("ANTIBACTERIAL_OBJECTIVE is not null");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE =", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveNotEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE <>", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveGreaterThan(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE >", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveGreaterThanOrEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE >=", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveLessThan(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE <", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveLessThanOrEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE <=", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveLike(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE like", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveNotLike(String value) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE not like", value, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveIn(List<String> values) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE in", values, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveNotIn(List<String> values) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE not in", values, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveBetween(String value1, String value2) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE between", value1, value2, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialObjectiveNotBetween(String value1, String value2) {
            addCriterion("ANTIBACTERIAL_OBJECTIVE not between", value1, value2, "antibacterialObjective");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeIsNull() {
            addCriterion("ANTIBACTERIAL_PROGRAMME is null");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeIsNotNull() {
            addCriterion("ANTIBACTERIAL_PROGRAMME is not null");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME =", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeNotEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME <>", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeGreaterThan(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME >", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeGreaterThanOrEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME >=", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeLessThan(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME <", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeLessThanOrEqualTo(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME <=", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeLike(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME like", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeNotLike(String value) {
            addCriterion("ANTIBACTERIAL_PROGRAMME not like", value, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeIn(List<String> values) {
            addCriterion("ANTIBACTERIAL_PROGRAMME in", values, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeNotIn(List<String> values) {
            addCriterion("ANTIBACTERIAL_PROGRAMME not in", values, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeBetween(String value1, String value2) {
            addCriterion("ANTIBACTERIAL_PROGRAMME between", value1, value2, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andAntibacterialProgrammeNotBetween(String value1, String value2) {
            addCriterion("ANTIBACTERIAL_PROGRAMME not between", value1, value2, "antibacterialProgramme");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayIsNull() {
            addCriterion("COMPLETE_PATHWAY is null");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayIsNotNull() {
            addCriterion("COMPLETE_PATHWAY is not null");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayEqualTo(BigDecimal value) {
            addCriterion("COMPLETE_PATHWAY =", value, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayNotEqualTo(BigDecimal value) {
            addCriterion("COMPLETE_PATHWAY <>", value, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayGreaterThan(BigDecimal value) {
            addCriterion("COMPLETE_PATHWAY >", value, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("COMPLETE_PATHWAY >=", value, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayLessThan(BigDecimal value) {
            addCriterion("COMPLETE_PATHWAY <", value, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayLessThanOrEqualTo(BigDecimal value) {
            addCriterion("COMPLETE_PATHWAY <=", value, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayIn(List<BigDecimal> values) {
            addCriterion("COMPLETE_PATHWAY in", values, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayNotIn(List<BigDecimal> values) {
            addCriterion("COMPLETE_PATHWAY not in", values, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("COMPLETE_PATHWAY between", value1, value2, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCompletePathwayNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("COMPLETE_PATHWAY not between", value1, value2, "completePathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayIsNull() {
            addCriterion("CN_PATHWAY is null");
            return (Criteria) this;
        }

        public Criteria andCnPathwayIsNotNull() {
            addCriterion("CN_PATHWAY is not null");
            return (Criteria) this;
        }

        public Criteria andCnPathwayEqualTo(String value) {
            addCriterion("CN_PATHWAY =", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayNotEqualTo(String value) {
            addCriterion("CN_PATHWAY <>", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayGreaterThan(String value) {
            addCriterion("CN_PATHWAY >", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayGreaterThanOrEqualTo(String value) {
            addCriterion("CN_PATHWAY >=", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayLessThan(String value) {
            addCriterion("CN_PATHWAY <", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayLessThanOrEqualTo(String value) {
            addCriterion("CN_PATHWAY <=", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayLike(String value) {
            addCriterion("CN_PATHWAY like", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayNotLike(String value) {
            addCriterion("CN_PATHWAY not like", value, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayIn(List<String> values) {
            addCriterion("CN_PATHWAY in", values, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayNotIn(List<String> values) {
            addCriterion("CN_PATHWAY not in", values, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayBetween(String value1, String value2) {
            addCriterion("CN_PATHWAY between", value1, value2, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andCnPathwayNotBetween(String value1, String value2) {
            addCriterion("CN_PATHWAY not between", value1, value2, "cnPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayIsNull() {
            addCriterion("QUIT_PATHWAY is null");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayIsNotNull() {
            addCriterion("QUIT_PATHWAY is not null");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayEqualTo(String value) {
            addCriterion("QUIT_PATHWAY =", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayNotEqualTo(String value) {
            addCriterion("QUIT_PATHWAY <>", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayGreaterThan(String value) {
            addCriterion("QUIT_PATHWAY >", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayGreaterThanOrEqualTo(String value) {
            addCriterion("QUIT_PATHWAY >=", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayLessThan(String value) {
            addCriterion("QUIT_PATHWAY <", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayLessThanOrEqualTo(String value) {
            addCriterion("QUIT_PATHWAY <=", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayLike(String value) {
            addCriterion("QUIT_PATHWAY like", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayNotLike(String value) {
            addCriterion("QUIT_PATHWAY not like", value, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayIn(List<String> values) {
            addCriterion("QUIT_PATHWAY in", values, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayNotIn(List<String> values) {
            addCriterion("QUIT_PATHWAY not in", values, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayBetween(String value1, String value2) {
            addCriterion("QUIT_PATHWAY between", value1, value2, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andQuitPathwayNotBetween(String value1, String value2) {
            addCriterion("QUIT_PATHWAY not between", value1, value2, "quitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayIsNull() {
            addCriterion("DESCRIBE_QUIT_PATHWAY is null");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayIsNotNull() {
            addCriterion("DESCRIBE_QUIT_PATHWAY is not null");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayEqualTo(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY =", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayNotEqualTo(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY <>", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayGreaterThan(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY >", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY >=", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayLessThan(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY <", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayLessThanOrEqualTo(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY <=", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayLike(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY like", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayNotLike(String value) {
            addCriterion("DESCRIBE_QUIT_PATHWAY not like", value, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayIn(List<String> values) {
            addCriterion("DESCRIBE_QUIT_PATHWAY in", values, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayNotIn(List<String> values) {
            addCriterion("DESCRIBE_QUIT_PATHWAY not in", values, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayBetween(String value1, String value2) {
            addCriterion("DESCRIBE_QUIT_PATHWAY between", value1, value2, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeQuitPathwayNotBetween(String value1, String value2) {
            addCriterion("DESCRIBE_QUIT_PATHWAY not between", value1, value2, "describeQuitPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayIsNull() {
            addCriterion("CAUSES_PATHWAY is null");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayIsNotNull() {
            addCriterion("CAUSES_PATHWAY is not null");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayEqualTo(String value) {
            addCriterion("CAUSES_PATHWAY =", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayNotEqualTo(String value) {
            addCriterion("CAUSES_PATHWAY <>", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayGreaterThan(String value) {
            addCriterion("CAUSES_PATHWAY >", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayGreaterThanOrEqualTo(String value) {
            addCriterion("CAUSES_PATHWAY >=", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayLessThan(String value) {
            addCriterion("CAUSES_PATHWAY <", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayLessThanOrEqualTo(String value) {
            addCriterion("CAUSES_PATHWAY <=", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayLike(String value) {
            addCriterion("CAUSES_PATHWAY like", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayNotLike(String value) {
            addCriterion("CAUSES_PATHWAY not like", value, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayIn(List<String> values) {
            addCriterion("CAUSES_PATHWAY in", values, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayNotIn(List<String> values) {
            addCriterion("CAUSES_PATHWAY not in", values, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayBetween(String value1, String value2) {
            addCriterion("CAUSES_PATHWAY between", value1, value2, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andCausesPathwayNotBetween(String value1, String value2) {
            addCriterion("CAUSES_PATHWAY not between", value1, value2, "causesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayIsNull() {
            addCriterion("DESCRIBE_CAUSES_PATHWAY is null");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayIsNotNull() {
            addCriterion("DESCRIBE_CAUSES_PATHWAY is not null");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayEqualTo(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY =", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayNotEqualTo(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY <>", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayGreaterThan(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY >", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayGreaterThanOrEqualTo(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY >=", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayLessThan(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY <", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayLessThanOrEqualTo(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY <=", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayLike(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY like", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayNotLike(String value) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY not like", value, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayIn(List<String> values) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY in", values, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayNotIn(List<String> values) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY not in", values, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayBetween(String value1, String value2) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY between", value1, value2, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andDescribeCausesPathwayNotBetween(String value1, String value2) {
            addCriterion("DESCRIBE_CAUSES_PATHWAY not between", value1, value2, "describeCausesPathway");
            return (Criteria) this;
        }

        public Criteria andTumorStageIsNull() {
            addCriterion("TUMOR_STAGE is null");
            return (Criteria) this;
        }

        public Criteria andTumorStageIsNotNull() {
            addCriterion("TUMOR_STAGE is not null");
            return (Criteria) this;
        }

        public Criteria andTumorStageEqualTo(String value) {
            addCriterion("TUMOR_STAGE =", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageNotEqualTo(String value) {
            addCriterion("TUMOR_STAGE <>", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageGreaterThan(String value) {
            addCriterion("TUMOR_STAGE >", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageGreaterThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE >=", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageLessThan(String value) {
            addCriterion("TUMOR_STAGE <", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageLessThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE <=", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageLike(String value) {
            addCriterion("TUMOR_STAGE like", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageNotLike(String value) {
            addCriterion("TUMOR_STAGE not like", value, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageIn(List<String> values) {
            addCriterion("TUMOR_STAGE in", values, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageNotIn(List<String> values) {
            addCriterion("TUMOR_STAGE not in", values, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE between", value1, value2, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageNotBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE not between", value1, value2, "tumorStage");
            return (Criteria) this;
        }

        public Criteria andTumorStageTIsNull() {
            addCriterion("TUMOR_STAGE_T is null");
            return (Criteria) this;
        }

        public Criteria andTumorStageTIsNotNull() {
            addCriterion("TUMOR_STAGE_T is not null");
            return (Criteria) this;
        }

        public Criteria andTumorStageTEqualTo(String value) {
            addCriterion("TUMOR_STAGE_T =", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTNotEqualTo(String value) {
            addCriterion("TUMOR_STAGE_T <>", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTGreaterThan(String value) {
            addCriterion("TUMOR_STAGE_T >", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTGreaterThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE_T >=", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTLessThan(String value) {
            addCriterion("TUMOR_STAGE_T <", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTLessThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE_T <=", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTLike(String value) {
            addCriterion("TUMOR_STAGE_T like", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTNotLike(String value) {
            addCriterion("TUMOR_STAGE_T not like", value, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTIn(List<String> values) {
            addCriterion("TUMOR_STAGE_T in", values, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTNotIn(List<String> values) {
            addCriterion("TUMOR_STAGE_T not in", values, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE_T between", value1, value2, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageTNotBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE_T not between", value1, value2, "tumorStageT");
            return (Criteria) this;
        }

        public Criteria andTumorStageNIsNull() {
            addCriterion("TUMOR_STAGE_N is null");
            return (Criteria) this;
        }

        public Criteria andTumorStageNIsNotNull() {
            addCriterion("TUMOR_STAGE_N is not null");
            return (Criteria) this;
        }

        public Criteria andTumorStageNEqualTo(String value) {
            addCriterion("TUMOR_STAGE_N =", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNNotEqualTo(String value) {
            addCriterion("TUMOR_STAGE_N <>", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNGreaterThan(String value) {
            addCriterion("TUMOR_STAGE_N >", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNGreaterThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE_N >=", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNLessThan(String value) {
            addCriterion("TUMOR_STAGE_N <", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNLessThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE_N <=", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNLike(String value) {
            addCriterion("TUMOR_STAGE_N like", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNNotLike(String value) {
            addCriterion("TUMOR_STAGE_N not like", value, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNIn(List<String> values) {
            addCriterion("TUMOR_STAGE_N in", values, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNNotIn(List<String> values) {
            addCriterion("TUMOR_STAGE_N not in", values, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE_N between", value1, value2, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageNNotBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE_N not between", value1, value2, "tumorStageN");
            return (Criteria) this;
        }

        public Criteria andTumorStageMIsNull() {
            addCriterion("TUMOR_STAGE_M is null");
            return (Criteria) this;
        }

        public Criteria andTumorStageMIsNotNull() {
            addCriterion("TUMOR_STAGE_M is not null");
            return (Criteria) this;
        }

        public Criteria andTumorStageMEqualTo(String value) {
            addCriterion("TUMOR_STAGE_M =", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMNotEqualTo(String value) {
            addCriterion("TUMOR_STAGE_M <>", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMGreaterThan(String value) {
            addCriterion("TUMOR_STAGE_M >", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMGreaterThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE_M >=", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMLessThan(String value) {
            addCriterion("TUMOR_STAGE_M <", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMLessThanOrEqualTo(String value) {
            addCriterion("TUMOR_STAGE_M <=", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMLike(String value) {
            addCriterion("TUMOR_STAGE_M like", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMNotLike(String value) {
            addCriterion("TUMOR_STAGE_M not like", value, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMIn(List<String> values) {
            addCriterion("TUMOR_STAGE_M in", values, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMNotIn(List<String> values) {
            addCriterion("TUMOR_STAGE_M not in", values, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE_M between", value1, value2, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andTumorStageMNotBetween(String value1, String value2) {
            addCriterion("TUMOR_STAGE_M not between", value1, value2, "tumorStageM");
            return (Criteria) this;
        }

        public Criteria andDifferentiationIsNull() {
            addCriterion("DIFFERENTIATION is null");
            return (Criteria) this;
        }

        public Criteria andDifferentiationIsNotNull() {
            addCriterion("DIFFERENTIATION is not null");
            return (Criteria) this;
        }

        public Criteria andDifferentiationEqualTo(String value) {
            addCriterion("DIFFERENTIATION =", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationNotEqualTo(String value) {
            addCriterion("DIFFERENTIATION <>", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationGreaterThan(String value) {
            addCriterion("DIFFERENTIATION >", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationGreaterThanOrEqualTo(String value) {
            addCriterion("DIFFERENTIATION >=", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationLessThan(String value) {
            addCriterion("DIFFERENTIATION <", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationLessThanOrEqualTo(String value) {
            addCriterion("DIFFERENTIATION <=", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationLike(String value) {
            addCriterion("DIFFERENTIATION like", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationNotLike(String value) {
            addCriterion("DIFFERENTIATION not like", value, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationIn(List<String> values) {
            addCriterion("DIFFERENTIATION in", values, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationNotIn(List<String> values) {
            addCriterion("DIFFERENTIATION not in", values, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationBetween(String value1, String value2) {
            addCriterion("DIFFERENTIATION between", value1, value2, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDifferentiationNotBetween(String value1, String value2) {
            addCriterion("DIFFERENTIATION not between", value1, value2, "differentiation");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisIsNull() {
            addCriterion("DIAGNOSIS_BASIS is null");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisIsNotNull() {
            addCriterion("DIAGNOSIS_BASIS is not null");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisEqualTo(String value) {
            addCriterion("DIAGNOSIS_BASIS =", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisNotEqualTo(String value) {
            addCriterion("DIAGNOSIS_BASIS <>", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisGreaterThan(String value) {
            addCriterion("DIAGNOSIS_BASIS >", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisGreaterThanOrEqualTo(String value) {
            addCriterion("DIAGNOSIS_BASIS >=", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisLessThan(String value) {
            addCriterion("DIAGNOSIS_BASIS <", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisLessThanOrEqualTo(String value) {
            addCriterion("DIAGNOSIS_BASIS <=", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisLike(String value) {
            addCriterion("DIAGNOSIS_BASIS like", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisNotLike(String value) {
            addCriterion("DIAGNOSIS_BASIS not like", value, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisIn(List<String> values) {
            addCriterion("DIAGNOSIS_BASIS in", values, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisNotIn(List<String> values) {
            addCriterion("DIAGNOSIS_BASIS not in", values, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisBetween(String value1, String value2) {
            addCriterion("DIAGNOSIS_BASIS between", value1, value2, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andDiagnosisBasisNotBetween(String value1, String value2) {
            addCriterion("DIAGNOSIS_BASIS not between", value1, value2, "diagnosisBasis");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintIsNull() {
            addCriterion("CHIEF_COMPLAINT is null");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintIsNotNull() {
            addCriterion("CHIEF_COMPLAINT is not null");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINT =", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintNotEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINT <>", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintGreaterThan(String value) {
            addCriterion("CHIEF_COMPLAINT >", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintGreaterThanOrEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINT >=", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintLessThan(String value) {
            addCriterion("CHIEF_COMPLAINT <", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintLessThanOrEqualTo(String value) {
            addCriterion("CHIEF_COMPLAINT <=", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintLike(String value) {
            addCriterion("CHIEF_COMPLAINT like", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintNotLike(String value) {
            addCriterion("CHIEF_COMPLAINT not like", value, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintIn(List<String> values) {
            addCriterion("CHIEF_COMPLAINT in", values, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintNotIn(List<String> values) {
            addCriterion("CHIEF_COMPLAINT not in", values, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintBetween(String value1, String value2) {
            addCriterion("CHIEF_COMPLAINT between", value1, value2, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andChiefComplaintNotBetween(String value1, String value2) {
            addCriterion("CHIEF_COMPLAINT not between", value1, value2, "chiefComplaint");
            return (Criteria) this;
        }

        public Criteria andMrQualityIsNull() {
            addCriterion("MR_QUALITY is null");
            return (Criteria) this;
        }

        public Criteria andMrQualityIsNotNull() {
            addCriterion("MR_QUALITY is not null");
            return (Criteria) this;
        }

        public Criteria andMrQualityEqualTo(Integer value) {
            addCriterion("MR_QUALITY =", value, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityNotEqualTo(Integer value) {
            addCriterion("MR_QUALITY <>", value, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityGreaterThan(Integer value) {
            addCriterion("MR_QUALITY >", value, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityGreaterThanOrEqualTo(Integer value) {
            addCriterion("MR_QUALITY >=", value, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityLessThan(Integer value) {
            addCriterion("MR_QUALITY <", value, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityLessThanOrEqualTo(Integer value) {
            addCriterion("MR_QUALITY <=", value, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityIn(List<Integer> values) {
            addCriterion("MR_QUALITY in", values, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityNotIn(List<Integer> values) {
            addCriterion("MR_QUALITY not in", values, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityBetween(Integer value1, Integer value2) {
            addCriterion("MR_QUALITY between", value1, value2, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andMrQualityNotBetween(Integer value1, Integer value2) {
            addCriterion("MR_QUALITY not between", value1, value2, "mrQuality");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateIsNull() {
            addCriterion("QUALITYCONTROL_DATE is null");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateIsNotNull() {
            addCriterion("QUALITYCONTROL_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateEqualTo(Date value) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE =", value, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE <>", value, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateGreaterThan(Date value) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE >", value, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE >=", value, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateLessThan(Date value) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE <", value, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE <=", value, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateIn(List<Date> values) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE in", values, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE not in", values, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE between", value1, value2, "qualitycontrolDate");
            return (Criteria) this;
        }

        public Criteria andQualitycontrolDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("QUALITYCONTROL_DATE not between", value1, value2, "qualitycontrolDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}